NTP Analyzer
0.8.2
Analyze the operation of time servers
|
OR/M mapper for table peerActivity. More...
Protected Member Functions | |
override void | Insert (PeerActivity item) |
override void | ReadContent () |
override void | Update (PeerActivity item) |
Protected Member Functions inherited from Ntp.Analyzer.Data.Sql.SqlDatabaseMapper< PeerActivity > | |
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 => "peerActivity" |
override bool | UseCache => true |
Protected Attributes inherited from Ntp.Analyzer.Data.Sql.SqlDatabaseMapper< PeerActivity > | |
IEnumerable< T > | Content |
readonly object | MapperLocker |
IDataReader | Reader |
Package Functions | |
PeerActivityDatabaseMapper (HostDatabaseMapper hostMapper, PeerDatabaseMapper peerMapper, LogBase log) | |
Private Attributes | |
readonly HostDatabaseMapper | hostMapper |
const string | InsertSql |
readonly PeerDatabaseMapper | peerMapper |
const string | SelectSql |
const string | UpdateSql |
Additional Inherited Members | |
Public Member Functions inherited from Ntp.Analyzer.Data.Sql.SqlDatabaseMapper< PeerActivity > | |
void | CheckTable () |
override IEnumerator< T > | GetEnumerator () |
Read all data from table in a sequential manner. More... | |
void | Save (T item) |
Properties inherited from Ntp.Analyzer.Data.Sql.SqlDatabaseMapper< PeerActivity > | |
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 peerActivity.
Definition at line 34 of file PeerActivityDatabaseMapper.cs.
|
inlinepackage |
Definition at line 36 of file PeerActivityDatabaseMapper.cs.
|
inlineprotected |
Definition at line 76 of file PeerActivityDatabaseMapper.cs.
References e, Ntp.Analyzer.Objects.PeerActivity.Hide, Ntp.Analyzer.Objects.PeerActivity.Host, Ntp.Analyzer.Objects.PersistentObject.Id, Ntp.Analyzer.Objects.PeerActivity.LastActive, Ntp.Analyzer.Objects.PeerActivity.Peer, Ntp.Analyzer.Objects.PersistentObject.SetId(), and Ntp.Analyzer.Objects.PeerActivity.UtcOffset.
|
inlineprotectedvirtual |
Implements Ntp.Analyzer.Data.Sql.SqlDatabaseMapper< PeerActivity >.
Definition at line 106 of file PeerActivityDatabaseMapper.cs.
References e.
|
inlineprotected |
Definition at line 140 of file PeerActivityDatabaseMapper.cs.
References e, Ntp.Analyzer.Objects.PersistentObject.Id, Ntp.Analyzer.Objects.PeerActivity.LastActive, and Ntp.Analyzer.Objects.PeerActivity.UtcOffset.
|
protected |
Definition at line 63 of file PeerActivityDatabaseMapper.cs.
|
private |
Definition at line 56 of file PeerActivityDatabaseMapper.cs.
|
private |
Definition at line 49 of file PeerActivityDatabaseMapper.cs.
|
private |
Definition at line 57 of file PeerActivityDatabaseMapper.cs.
|
private |
Definition at line 46 of file PeerActivityDatabaseMapper.cs.
|
protected |
Definition at line 61 of file PeerActivityDatabaseMapper.cs.
|
private |
Definition at line 53 of file PeerActivityDatabaseMapper.cs.
|
protected |
Definition at line 59 of file PeerActivityDatabaseMapper.cs.