DomainObjects Class Library

TransactableObject Methods

The methods of the TransactableObject class are listed below. For a complete list of TransactableObject class members, see the TransactableObject Members topic.

Public Instance Methods

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.

See Also

TransactableObject Class | DomainObjects.Facade.Domain Namespace