|
Eamon CS
3.1.0
|
Public Member Functions | |
| virtual RetCode | FreeRecords (bool dispose=true) |
| Fully reinitializes the IDbTable and restores it to its initial (empty) state. More... | |
| virtual long | GetRecordCount () |
| Gets the number of records of type T stored in the Records collection. More... | |
| virtual T | FindRecord (long uid) |
| Gets a record from the Records collection. More... | |
| virtual T | FindRecord (Type type, bool exactMatch=false) |
| Gets a record from the Records collection based on interface type. More... | |
| virtual RetCode | AddRecord (T record, bool makeCopy=false) |
| Adds a record to the Records collection. More... | |
| virtual T | RemoveRecord (long uid) |
| Removes a record from the Records collection. More... | |
| virtual T | RemoveRecord (Type type, bool exactMatch=false) |
| Removes a record from the Records collection based on interface type. More... | |
| virtual long | GetRecordUid (bool allocate=true) |
| Gets the next available record Uid. More... | |
| virtual void | FreeRecordUid (long uid) |
| Frees a record Uid, making it available again for use. More... | |
| DbTable () | |
Properties | |
| virtual ICollection< T > | Records [get, set] |
| virtual SortedSet< long > | FreeUids [get, set] |
| virtual T | FindRec [get, set] |
| virtual long | CurrUid [get, set] |
Properties inherited from Eamon.Framework.DataStorage.Generic.IDbTable< T > | |
| ICollection< T > | Records [get, set] |
| Gets or sets the collection of records stored in the database table. More... | |
| SortedSet< long > | FreeUids [get, set] |
| Gets or sets the collection of Uids available for reuse by new instances of this record type; may be empty. More... | |
| long | CurrUid [get, set] |
| Gets or sets a sequence number representing the last Uid (unique ID) allocated to a record of type T. More... | |
|
virtual |
Adds a record to the Records collection.
| record | |
| makeCopy |
Implements Eamon.Framework.DataStorage.Generic.IDbTable< T >.
|
virtual |
Gets a record from the Records collection.
| uid |
Implements Eamon.Framework.DataStorage.Generic.IDbTable< T >.
|
virtual |
Gets a record from the Records collection based on interface type.
| type | |
| exactMatch |
Implements Eamon.Framework.DataStorage.Generic.IDbTable< T >.
|
virtual |
Fully reinitializes the IDbTable and restores it to its initial (empty) state.
| dispose |
Implements Eamon.Framework.DataStorage.Generic.IDbTable< T >.
|
virtual |
Frees a record Uid, making it available again for use.
| uid |
Implements Eamon.Framework.DataStorage.Generic.IDbTable< T >.
|
virtual |
Gets the number of records of type T stored in the Records collection.
Implements Eamon.Framework.DataStorage.Generic.IDbTable< T >.
|
virtual |
Gets the next available record Uid.
| allocate |
Implements Eamon.Framework.DataStorage.Generic.IDbTable< T >.
|
virtual |
Removes a record from the Records collection.
| uid |
Implements Eamon.Framework.DataStorage.Generic.IDbTable< T >.
|
virtual |
Removes a record from the Records collection based on interface type.
| type | |
| exactMatch |
Implements Eamon.Framework.DataStorage.Generic.IDbTable< T >.
|
getset |
|
getset |
|
getset |
|
getset |