C-DEngine 5.105

TheDataBase Members

The TheDataBase type exposes the following members.

Constructors


  Name Description
Public method TheDataBase(Guid)
Initialization of TheDataBase Sets the cdeMID to a NewGuid and the cdeCTIM Timestamp to the current time cdeN will be set to the incoming parameter
Public method TheDataBase()()()()
Initialization of TheDataBase Sets the cdeMID to a NewGuid and the cdeCTIM Timestamp to the current time

Methods


  Name Description
Public method CloneBase
Clonse an incoming object into this object
Public method Equals(System.Object) (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method FireEvent
Fire an Event on a property
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method IsEventRegistered
Returns true if the requested eThingEvents has registered callbacks
Protected method MemberwiseClone (Inherited from Object.)
Public method NotifyMirror
If called from a derived class and the class was stored in a StorageMirror, this method will call the "NotifyOfUpdate" method in the StorageMirror to inform all Notification Clients that this record has changed. This is VERY Expensive! Do not call too often! This does not work with StorageMirrors that require a PostSalt (unique table name)
Protected method OnPropertyChanged (Inherited from TheBindableBase.)
Public method RegisterEvent Obsolete.
Register a callback that will be fired on a Property Event
Public method RegisterEvent2
Register a callback that will be fired on a Property Event
Protected method SetProperty``1 (Inherited from TheBindableBase.)
Public method ToString (Inherited from Object.)
Public method UnregisterEvent Obsolete.
Unregister a previously registered callback
Public method UnregisterEvent2
Unregister a previously registered callback

Properties


  Name Description
Public property cdeAVA
Availability of this record The higher this number the higher the availability of this record The Storage Service might store the data in multiple location to ensure maximum availability
Public property cdeCTIM
Timestamp of this class. Will be set to DateTimeOffset.Now on creation of the Class
Public property cdeEXP
Expiration in Seconds of the class If a derived class is stored in a StorageMirror and cdeEXP is set to>0, the StorageMirror will automatically delete this record after the time has passed
Public property cdeMID
Unique Key for the class derived from TheDataBase. this will be used in the StorageService as the Unique Index in the SQL Tables
Public property cdeN
Guid of Hosting Node - new in 4.108: Moved from MetaDataBase to here
Public property cdePRI
Priority of this record. A lower number means a higher priority. Data with higher priority will be retrieved faster than those with lower prio

Events


  Name Description
Public event PropertyChanged
Multicast event for property change notifications.
(Inherited from TheBindableBase.)