BaseClasses Documentation

ICacheableRecord Members

ICacheableRecord overview

Public Instance Properties

IsAnyValueChanged Indicates whether the value of any column has changed.
IsAutoSaveEnabled If True, any changes to this record will be saved automatically when the associated SqlTransaction is WriteData.
IsExistsInDatabase Specifies whether this object corresponds to an existing DB record (i.e. has been inserted).
IsSaved Gets or sets a value specifying whether or not data in the object has been changed since it was retrieved from the database. If so, data will be written back to the database when the corresponding SqlTransaction object is committed.
IsValid Indicates whether the object contains valid data that can be used to reflects the state of the . If not, data will be retrieved from the database.
IsWritable Gets or sets a value specifying whether or not object data may be changed.
RecordValue The RecordValue that contains the records internal data.
ValuesChanged The array that contains the flags indicating which of the records' field values have changed.
VirtualID

Public Instance Methods

ClearValuesChanged Sets the "changed" flags for all columns to indicate that no values have changed.
GetCacheHashKey The function return a unique hash key.
GetInternalValueOverloaded. Gets the value of a specified field.
IsValueChanged Indicates whether the value of a specified column has changed.
RegisterTransactionEventHandlers Called after the record has been added to the cache.
SetInternalValueOverloaded. Sets the value of a specified field.
SetIsValueChanged Sets a flag that indicates whether the value of a specified column has changed.
UnregisterTransactionEventHandlers Called after the record has been removed from the cache.

See Also

ICacheableRecord Interface | BaseClasses Namespace