HasDatabaseIdentity | |
Identity (inherited from PersistableObject) | Uniquely identifies a persistable object by type and primary key. |
IsDeletedFromDatabase | Determine if this instance has been successfully deleted from the database. If true, then methods cannot be called against this instance and all references to this instance must be nullified. |
IsNew | |
IsPrivateCopy | |
IsReconstructed (inherited from PersistableObject) | Indicates that this object has been reconstructed from the database rather than retrieved from the cache. For internal DomainObject use only. |
NeedsDelete | |
PrimaryKey (inherited from PersistableObject) |
CreateObjRef (inherited from MarshalByRefObject) | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. |
Delete | Delete this instance from the database upon transaction Commit. After calling this method NeedsDelete returns true. |
Equals (inherited from PersistableObject) | Overloaded. Determines whether the specified Object is equal to the current Object. |
GetHashCode (inherited from PersistableObject) | Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. |
GetLifetimeService (inherited from MarshalByRefObject) | Retrieves the current lifetime service object that controls the lifetime policy for this instance. |
GetObjectData | Gets the object data. |
GetPrivateCopy | Get a private copy of this object that is in an 'isolated' state. If this instance is already a private copy, just return this instance back to the caller. An 'isolated' state indicates that this persistable object is only accessible by a single transaction, i.e., the caller of this method, and therefore can be safely modified without other transactions or threads seeing those modifications. |
GetType (inherited from Object) | Gets the Type of the current instance. |
InitializeLifetimeService (inherited from MarshalByRefObject) | Obtains a lifetime service object to control the lifetime policy for this instance. |
Manage | Enables DomainObjects to manage the persistence- relevant state of this object. This method must be called immediately after constructing an EditableObject so that DomainObjects can manage modifications to the instance; a client must not hold a direct reference to an EditableObject. |
OnDeserialization (inherited from PersistableObject) | |
ToString (inherited from PersistableObject) | Returns a String that represents the current Object. |
OnAbortedTransaction | An event that subscribers can use to be notifed when this instance has participated in an aborted transaction. If modifications to this instance have been aborted, then methods cannot be called against this instance and all references to this instance must be nullified. |
OnAfterInsert | An event that indicates this instance is transitioned from IsNew == trueto IsNew == false. In other words, this instance has been inserted successfully into the database. |
OnDeletedFromDatabase | An event that subscribers can use to be notifed when this instance has been deleted from the database. If this instance has been deleted, then methods cannot be called against this instance and all references to this instance must be nullified. |
OnIdentityChange |
TransactableObject Class | DomainObjects.Facade.Domain Namespace