Click or drag to resize

EditableDomainObject Class

Represents domain object, that can be edited (created/updated/deleted), validated and saved.
Inheritance Hierarchy

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

The EditableDomainObject type exposes the following members.

Constructors
  NameDescription
Public methodEditableDomainObject
Initializes a new instance of the EditableDomainObject class.
Top
Properties
  NameDescription
Public propertyChangingAttributes
Gets the attributes that are currently changing. Can be used in attribute change event handler to prevent stack overflow.
Public propertyIsGhost
Returns true when the object is a ghost object
(Inherited from DomainObject.)
Public propertyItemString
Gets or sets the value of a data attribute
(Inherited from DomainObject.)
Public propertyItemIDataAttribute
Gets or sets the value of a data attribute
(Inherited from DomainObject.)
Public propertyNoEvents
Turns on "No events" mode and returns a class, that will turn it off when Disposed. See remarks for more info.
(Inherited from DomainObject.)
Public propertyObjectState
Gets the state of the domain object.
Public propertyRepository
The repository used to persist the object
Public propertyTransaction
The transaction to which this object is attached
(Inherited from DomainObject.)
Top
Methods
  NameDescription
Public methodDelete
Deletes the domain object.
Public methodEquals
Determines whether the specified object is equal to this instance.
(Inherited from DomainObject.)
Public methodExecuteBusinessRules
Executes all business rules for the object for the specified BusinessEvent. The validation fails are saved in the event.
Public methodGetHashCode
Returns a hash code for this instance.
(Inherited from DomainObject.)
Public methodStatic memberCode exampleGetObjectState
Gets the resulting object state from a base object state and a row provider for the most derived row.
Public methodIssueWarning(String)
Issues a warning with the specified message.
Public methodIssueWarning(ExpressionFuncString, Object)
Issues a warning with the specified message. The message can contain standard string placeholders.
Public methodToString
Returns a String that represents this instance.
(Inherited from DomainObject.)
Public methodTryGet
Tries to get the specified attribute and returns it or null, when it is not found.
(Inherited from DomainObject.)
Top
Extension Methods
  NameDescription
Public Extension MethodFormatString
Converts the object to string based on the format specified.
(Defined by FormatStringExtensions.)
Top
See Also