NTP Analyzer
0.8.2
Analyze the operation of time servers
|
OR/M mapper for table host. More...
Protected Member Functions | |
override void | Insert (Host item) |
override void | ReadContent () |
override void | Update (Host item) |
Protected Member Functions inherited from Ntp.Analyzer.Data.Sql.SqlDatabaseMapper< Host > | |
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 => "host" |
override bool | UseCache => true |
Protected Attributes inherited from Ntp.Analyzer.Data.Sql.SqlDatabaseMapper< Host > | |
IEnumerable< T > | Content |
readonly object | MapperLocker |
IDataReader | Reader |
Package Functions | |
HostDatabaseMapper (LogBase log) | |
Private Attributes | |
const string | InsertSql |
const string | SelectSql |
const string | UpdateSql |
Additional Inherited Members | |
Public Member Functions inherited from Ntp.Analyzer.Data.Sql.SqlDatabaseMapper< Host > | |
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< Host > | |
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 host.
Definition at line 34 of file HostDatabaseMapper.cs.
|
inlinepackage |
Definition at line 36 of file HostDatabaseMapper.cs.
|
inlineprotected |
Definition at line 62 of file HostDatabaseMapper.cs.
References e, Ntp.Analyzer.Objects.PersistentObject.Id, Ntp.Analyzer.Objects.Host.Ip, Ntp.Analyzer.Objects.NamedObject.Name, and Ntp.Analyzer.Objects.Host.OrgId.
|
inlineprotectedvirtual |
Implements Ntp.Analyzer.Data.Sql.SqlDatabaseMapper< Host >.
Definition at line 90 of file HostDatabaseMapper.cs.
References e.
|
inlineprotected |
Definition at line 122 of file HostDatabaseMapper.cs.
References e, Ntp.Analyzer.Objects.PersistentObject.Id, Ntp.Analyzer.Objects.Host.Ip, Ntp.Analyzer.Objects.NamedObject.Name, and Ntp.Analyzer.Objects.Host.OrgId.
|
protected |
Definition at line 54 of file HostDatabaseMapper.cs.
|
private |
Definition at line 44 of file HostDatabaseMapper.cs.
|
private |
Definition at line 41 of file HostDatabaseMapper.cs.
|
protected |
Definition at line 52 of file HostDatabaseMapper.cs.
|
private |
Definition at line 47 of file HostDatabaseMapper.cs.
|
protected |
Definition at line 50 of file HostDatabaseMapper.cs.