NTP Analyzer  0.8.2
Analyze the operation of time servers
Ntp.Data.DataMapper< T > Class Template Referenceabstract

Base class for ORM mappers. Can be used for mapping object stored in files, databases, etc. More...

Inheritance diagram for Ntp.Data.DataMapper< T >:
Collaboration diagram for Ntp.Data.DataMapper< T >:

Public Member Functions

abstract IEnumerator< T > GetEnumerator ()
 Read all data from table in a sequential manner. More...
 

Protected Member Functions

 DataMapper (LogBase log)
 

Properties

LogBase Log [get]
 

Private Member Functions

IEnumerator IEnumerable. GetEnumerator ()
 Read all data from table in a sequential manner. More...
 

Detailed Description

Base class for ORM mappers. Can be used for mapping object stored in files, databases, etc.

Definition at line 31 of file DataMapper.cs.

Constructor & Destructor Documentation

Ntp.Data.DataMapper< T >.DataMapper ( LogBase  log)
inlineprotected

Definition at line 33 of file DataMapper.cs.

34  {
35  Log = log;
36  }

Member Function Documentation

abstract IEnumerator<T> Ntp.Data.DataMapper< T >.GetEnumerator ( )
pure virtual

Read all data from table in a sequential manner.

Returns
The enumerator.

Implemented in Ntp.Analyzer.Data.Sql.SqlDatabaseMapper< T >.

IEnumerator IEnumerable. Ntp.Data.DataMapper< T >.GetEnumerator ( )
inlineprivate

Read all data from table in a sequential manner.

Returns
The enumerator.

Definition at line 50 of file DataMapper.cs.

51  {
52  return GetEnumerator();
53  }
abstract IEnumerator< T > GetEnumerator()
Read all data from table in a sequential manner.

Property Documentation

LogBase Ntp.Data.DataMapper< T >.Log
getprotected

Definition at line 38 of file DataMapper.cs.


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