NTP Analyzer
0.8.2
Analyze the operation of time servers
|
OR/M mapper for table associationEntry. More...
Public Member Functions | |
void | Delete (string ip, int hostId) |
void | Delete (int hostId) |
override IEnumerator< AssociationEntry > | GetEnumerator () |
Read all data from table in a sequential manner. More... | |
Public Member Functions inherited from Ntp.Analyzer.Data.Sql.SqlDatabaseMapper< AssociationEntry > | |
void | CheckTable () |
override IEnumerator< T > | GetEnumerator () |
Read all data from table in a sequential manner. More... | |
void | Save (T item) |
Protected Member Functions | |
override void | Insert (AssociationEntry item) |
override void | ReadContent () |
override void | Update (AssociationEntry item) |
Protected Member Functions inherited from Ntp.Analyzer.Data.Sql.SqlDatabaseMapper< AssociationEntry > | |
SqlDatabaseMapper (LogBase log) | |
void | AddItem (T item) |
void | Close () |
IDbDataParameter | CreateParameter (string name, object value) |
virtual T | FetchExternal (int id) |
abstract void | Insert (T item) |
void | Open () |
string | PrepareInsertSql (string sql) |
virtual string | PrepareSql (string sql) |
void | RemoveItem (T item) |
abstract void | Update (T item) |
Protected Attributes | |
override string | CreateSql |
override string | TableName => "associationEntry" |
override bool | UseCache => false |
Protected Attributes inherited from Ntp.Analyzer.Data.Sql.SqlDatabaseMapper< AssociationEntry > | |
IEnumerable< T > | Content |
readonly object | MapperLocker |
IDataReader | Reader |
Package Functions | |
AssociationEntryMapper (LogBase log) | |
Private Attributes | |
const string | DeleteHostSql |
const string | DeleteUniqueSql |
const string | InsertSql |
const string | SelectSql |
Additional Inherited Members | |
Properties inherited from Ntp.Analyzer.Data.Sql.SqlDatabaseMapper< AssociationEntry > | |
IDbCommand | Command [get, private set] |
abstract string | CreateSql [get] |
abstract string | TableName [get] |
T | this[int id] [get] |
abstract bool | UseCache [get] |
OR/M mapper for table associationEntry.
Definition at line 35 of file AssociationEntryMapper.cs.
|
inlinepackage |
Definition at line 37 of file AssociationEntryMapper.cs.
|
inline |
Definition at line 80 of file AssociationEntryMapper.cs.
References e.
|
inline |
Definition at line 106 of file AssociationEntryMapper.cs.
References e.
|
inline |
Read all data from table in a sequential manner.
Definition at line 135 of file AssociationEntryMapper.cs.
References e.
|
inlineprotected |
Definition at line 188 of file AssociationEntryMapper.cs.
References Ntp.Analyzer.Objects.AssociationEntry.Delay, e, Ntp.Analyzer.Objects.AssociationEntry.HostId, Ntp.Analyzer.Objects.AssociationEntry.Jitter, Ntp.Analyzer.Objects.AssociationEntry.LastPoll, Ntp.Analyzer.Objects.AssociationEntry.Offset, Ntp.Analyzer.Objects.AssociationEntry.PeerType, Ntp.Analyzer.Objects.AssociationEntry.Poll, Ntp.Analyzer.Objects.AssociationEntry.Reach, Ntp.Analyzer.Objects.AssociationEntry.Refid, Ntp.Analyzer.Objects.AssociationEntry.Remote, Ntp.Analyzer.Objects.PersistentObject.SetId(), Ntp.Analyzer.Objects.AssociationEntry.Stratus, and Ntp.Analyzer.Objects.AssociationEntry.TallyChar.
|
inlineprotectedvirtual |
Implements Ntp.Analyzer.Data.Sql.SqlDatabaseMapper< AssociationEntry >.
Definition at line 224 of file AssociationEntryMapper.cs.
References Ntp.Analyzer.Data.Log.LogMessages.DatabaseCacheError.
|
inlineprotected |
Definition at line 229 of file AssociationEntryMapper.cs.
References Ntp.Analyzer.Data.Log.LogMessages.DatabaseNoUpdate.
|
protected |
Definition at line 61 of file AssociationEntryMapper.cs.
|
private |
Definition at line 54 of file AssociationEntryMapper.cs.
|
private |
Definition at line 51 of file AssociationEntryMapper.cs.
|
private |
Definition at line 47 of file AssociationEntryMapper.cs.
|
private |
Definition at line 42 of file AssociationEntryMapper.cs.
|
protected |
Definition at line 59 of file AssociationEntryMapper.cs.
|
protected |
Definition at line 57 of file AssociationEntryMapper.cs.