NTP Analyzer  0.8.2
Analyze the operation of time servers
Ntp.Analyzer.Data.Changes.Change01 Class Reference
Inheritance diagram for Ntp.Analyzer.Data.Changes.Change01:
Collaboration diagram for Ntp.Analyzer.Data.Changes.Change01:

Public Member Functions

 Change01 ()
 
IEnumerator< SqlChangeSetGetEnumerator ()
 

Public Attributes

int VersionNumber => 000600
 
string VersionText => "v0.6.0"
 

Private Member Functions

IEnumerator IEnumerable. GetEnumerator ()
 

Private Attributes

readonly List< SqlChangeSetchanges
 

Additional Inherited Members

- Properties inherited from Ntp.Data.Schema.IVersionChanges
int VersionNumber [get]
 
string VersionText [get]
 

Detailed Description

Definition at line 28 of file Change01.cs.

Constructor & Destructor Documentation

Ntp.Analyzer.Data.Changes.Change01.Change01 ( )
inline

Definition at line 30 of file Change01.cs.

31  {
32  changes = new List<SqlChangeSet>
33  {
34  new SqlChangeSet(
35  "ALTER TABLE peer " +
36  "MODIFY COLUMN ip VARCHAR(45) NOT NULL;"
37  ),
38  new SqlChangeSet(
39  "ALTER TABLE peerActivity " +
40  "ADD hide BIT(1) NOT NULL;"
41  ),
42  new SqlChangeSet(
43  "ALTER TABLE peerActivity " +
44  "ADD UNIQUE KEY (hostId, peerId);"
45  )
46  };
47  }
readonly List< SqlChangeSet > changes
Definition: Change01.cs:49

Member Function Documentation

IEnumerator IEnumerable. Ntp.Analyzer.Data.Changes.Change01.GetEnumerator ( )
inlineprivate

Definition at line 55 of file Change01.cs.

56  {
57  return changes.GetEnumerator();
58  }
readonly List< SqlChangeSet > changes
Definition: Change01.cs:49
IEnumerator<SqlChangeSet> Ntp.Analyzer.Data.Changes.Change01.GetEnumerator ( )
inline

Definition at line 60 of file Change01.cs.

61  {
62  return changes.GetEnumerator();
63  }
readonly List< SqlChangeSet > changes
Definition: Change01.cs:49

Member Data Documentation

readonly List<SqlChangeSet> Ntp.Analyzer.Data.Changes.Change01.changes
private

Definition at line 49 of file Change01.cs.

int Ntp.Analyzer.Data.Changes.Change01.VersionNumber => 000600

Definition at line 53 of file Change01.cs.

string Ntp.Analyzer.Data.Changes.Change01.VersionText => "v0.6.0"

Definition at line 51 of file Change01.cs.


The documentation for this class was generated from the following file: