DomainObjects Class Library |
|
DomainObjects.Facade.Domain Namespace
The DomainObjects.Facade.Domain namespace provides the base classes that your persistable domain classes must derive from. These classes provide the base functionality that all persistable domain objects must have.
Namespace hierarchy
Classes
Class |
Description |
Collection<ContainerClass,RelatedClass>
|
Holds the set of persistable objects as defined in the 's CollectionDescriptor. |
CompositeKey
|
|
EditableObject
|
Implements methods for persistable objects that require editable semantics: i.e., persistable objects that can be inserted into, updated to and deleted from the database. Subtype this class when your class requires editable semantics. |
FieldConversion<FieldConversionSubClass>
|
Provides a callback interface for DomainObjects to convert a database type to a field type when retrieving a value from the database and vice versa when storing a field to the database. Implement this interface when a persistable object field type is different from the database column type. |
FieldRelationship<PrimaryKeyType,RelationshipDescriptorType>
|
A relationship between two persistable object types as defined by a FieldDescriptor. |
Identity
|
Uniquely identifies a persistable object by type and unique key. |
ImmutableObject
|
Defines methods for persistable objects that require immutable semantics: i.e., persistable objects that can be inserted into and deleted from the database but must never be edited and therefore updated to the database. Subtype this class when your class requires immutable semantics. |
Key
|
Defines a primary or foreign key. |
MutatorAttribute
|
This attribute indicates that a method mutates the persistence-relevant state of a persistable object. In other words, when a method with this attribute is called, the persistable object must be subsequently updated to the database upon transaction Commit. |
NeedsDeleteEventArgs
|
|
OnAbortedTransactionEventArgs
|
The event arguments for the OnAbortedTransaction event that subscribers can use to be notifed when this instance has participated in an aborted transaction. |
OnAfterInsertArgs
|
|
OnDeletedFromDatabaseEventArgs
|
The event arguments for the OnDeletedFromDatabase event that subscribers can use to be notifed when this instance has been deleted from the database. |
OnIdentityChangeArgs
|
|
PersistableObject
|
The base class for all DomainObjects-enabled persistable objects. |
ReadOnlyObject
|
Implements methods for persistable objects that require read-only semantics: i.e., persistable objects that exist in the database (via, for example, an external load process or script) and must never be inserted into, updated to or deleted from the database. Subtype this class when your class requires read-only semantics. |
Reference<ContainerClass,RelatedClass>
|
Holds the persistable object as defined in the 's ReferenceDescriptor. |
TransactableObject
|
Defines methods required by a persistable object that can participate in a transaction. |
Interfaces
Interface |
Description |
ICreatable
|
Defines methods to determine if the implementing instance is new, i.e., if the instance requires an insert into the database. |
IDeletable
|
Defines methods to set and determine if the implementing instance needs to be deleted from the database upon transaction commit. |
IEditable
|
Defines methods for persistable objects that require editable semantics: i.e., persistable objects that can be inserted into, updated to and deleted from the database. |
IImmutable
|
Defines methods for persistable objects that require immutable semantics: i.e., persistable objects that can be inserted into and deleted from the database but must never be edited and therefore updated to the database. |
IPersistable
|
The base interface for all DomainObjects-enabled persistable objects. |
IReadOnly
|
Defines methods for persistable objects that require read-only semantics: i.e., persistable objects that exist in the database (via, for example, an external load process or script) and must never be inserted into, updated to or deleted from the database. |
IReconstructionAware
|
Implement this interface to receive a callback after DomainObjects has reconstructed this object from the database. |
ITransactable
|
Defines methods required by a persistable object that will participate in a transaction. |