Click or drag to resize

DomainObject Class

Base abstract type for all domain objects
Inheritance Hierarchy

Namespace:  Aloe.SystemFrameworks.Domain
Assembly:  Aloe.SystemFrameworks.Domain (in Aloe.SystemFrameworks.Domain.dll) Version: 20.1.3.5
Syntax
public abstract class DomainObject

The DomainObject type exposes the following members.

Properties
  NameDescription
Public propertyIsGhost
Returns true when the object is a ghost object
Public propertyItemString
Gets or sets the value of a data attribute
Public propertyItemIDataAttribute
Gets or sets the value of a data attribute
Public propertyNoEvents
Turns on "No events" mode and returns a class, that will turn it off when Disposed. See remarks for more info.
Public propertyRepository
The repository used to persist the object
Public propertyTransaction
The transaction to which this object is attached
Top
Methods
Operators
  NameDescription
Public operatorStatic memberEquality
Compares the domain object references, return true if same. Nulls and ghosts are treated as equal.
Public operatorStatic memberInequality
Compares the domain object references, return false if same. Nulls and ghosts are treated as equal.
Top
Extension Methods
  NameDescription
Public Extension MethodFormatString
Converts the object to string based on the format specified.
(Defined by FormatStringExtensions.)
Top
Remarks
The domain objects are the basic building blocks of the domain model. The domain objects have special kind of properties, called Data Attributes, relate to each other and are persisted. The objects live only inside a Transaction, which controls their creation and persistance
See Also