Click or drag to resize

EditableRepository Class

Represents repository, which supports editing and saving changes
Inheritance Hierarchy

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

The EditableRepository type exposes the following members.

Properties
  NameDescription
Public propertyAggregateParentRepository
Gets the aggregate parent repository.
(Inherited from Repository.)
Public propertyAttributes
List of Attributes of the container
(Inherited from Repository.)
Public propertyLocalizedName
Gets the name of the repository in the current UI culture.
(Inherited from Repository.)
Public propertyName
The name of the repository, including the name-space.
(Inherited from Repository.)
Public propertyObjectType
Gets the type of the domain objects, which are managed by the repository.
(Inherited from Repository.)
Public propertyParentRepository
Gets the parent repository or null if there is no parent repository.
(Inherited from Repository.)
Public propertyPrimaryTableName
The name of the primary storage table, used to persist the domain objects
(Inherited from DataAccessRepository.)
Public propertyReferences
List of references to entity objects
(Inherited from Repository.)
Public propertyRepositorySource
The RepositorySource of this repository, which allows the repository to access other repositories.
(Inherited from Repository.)
Public propertyRules
Gets the repository rules.
Top
Methods
  NameDescription
Public methodConsumeObjects
Consumes and returns the objects found in the specified buffer.
(Inherited from Repository.)
Public methodCreateDataAccessQuery
Creates a new data access query for the repository, with the specified filter
(Inherited from DataAccessRepository.)
Public methodCreateQueryT
Returns IQueryable that can be used in LINQ expressions which query the repository
(Inherited from DataAccessRepository.)
Public methodEnsureFullyLoaded
Ensures that the specified objects are fully loaded.
(Inherited from Repository.)
Public methodEnumerateObjects
Enumerates and returns the objects found in the specified buffer.
(Inherited from DataAccessRepository.)
Public methodExecuteBusinessRules
Validates the specified object for the specified business event.
Public methodGetAggregateRootRepository
Gets the aggregate root repository. If AggregateParentRepository is null the aggregate root is this repository.
(Inherited from Repository.)
Public methodGetObjectByRow
Finds or creates an object, referencing the specified buffer row.
(Inherited from DataAccessRepository.)
Public methodGetObjectsByRows
Finds or creates objects, referencing the specified buffer row.
(Inherited from DataAccessRepository.)
Public methodGetParentReference
Gets the parent ownership reference.
(Inherited from Repository.)
Public methodGetReferenceTObject, TResult
Gets the backing reference of the member, specified in the expression. The expression should be in the format 's => s.Member'.
(Inherited from Repository.)
Public methodInstantiateNewObject
Creates a new domain object of the type, managed by the repository.
Public methodIsAggregateRoot
Returns true if this repository is aggregate root.
(Inherited from Repository.)
Public methodReadToBuffer
Executes the query and returns the result in a buffer
(Inherited from DataAccessRepository.)
Public methodRefreshAttributes
Refreshes the attributes collection.
(Inherited from Repository.)
Public methodRegisterRule
Registers a constraint for the specified validation events.
Public methodRegisterRuleForTBusinessEvent
Registers the rule for all events of the specified event type.
Public methodRegisterRuleForAttributeChanged(String, IBusinessRule)
Registers a rule for the AttributeChangedBusinessEvent event.
Public methodRegisterRuleForAttributeChanged(IDataAttribute, IBusinessRule)
Registers a rule for the AttributeChangedBusinessEvent event.
Public methodRegisterRuleForAttributeChanging
Registers a rule for the AttributeChangingBusinessEvent event.
Public methodRegisterRuleForCommit
Registers a constraint for the Commit validation event. For more information, ValidationEvent.
Public methodRegisterRuleForObjectReferenceChanged
Registers a rule for the ObjectReferenceChangedBusinessEvent event.
Top
Extension Methods
  NameDescription
Public Extension MethodGetExpressionDependencies
Gets the data attributes and references (from the repository) on which the expression depends.
(Defined by RepositoryExtensions.)
Top
See Also