EntityRepository Class |
Namespace: Aloe.SystemFrameworks.Domain
The EntityRepository type exposes the following members.
| Name | Description | |
|---|---|---|
| AggregateParentRepository |
Gets the aggregate parent repository.
(Inherited from Repository.) | |
| Attributes |
List of Attributes of the container
(Inherited from Repository.) | |
| ChildCollections |
List of collections of child objects
| |
| EntityName |
Gets the name of the entity.
| |
| GhostObjectType |
Gets the type of the ghost object.
| |
| LocalizedName |
Gets the name of the repository in the current UI culture.
(Inherited from Repository.) | |
| Name |
The name of the repository, including the name-space.
(Inherited from Repository.) | |
| ObjectType |
Gets the type of the domain objects, which are managed by the repository.
(Inherited from Repository.) | |
| ParentRepository |
Gets the parent repository or null if there is no parent repository.
(Inherited from Repository.) | |
| PrimaryTableName |
The name of the primary storage table, used to persist the domain objects
(Inherited from DataAccessRepository.) | |
| References |
List of references to entity objects
(Inherited from Repository.) | |
| RepositorySource |
The RepositorySource of this repository, which allows the repository to access other repositories.
(Inherited from Repository.) | |
| Rules |
Gets the repository rules.
(Inherited from EditableRepository.) | |
| SupportsObjectDuplication |
Gets a value indicating whether the repository supports object duplication.
|
| Name | Description | |
|---|---|---|
| ConsumeObjects | Consumes and returns the objects found in the specified buffer. (Overrides RepositoryConsumeObjects(ObjectTransaction, IBuffer, Boolean).) | |
| CreateDataAccessQuery |
Creates a new data access query for the repository, with the specified filter
(Inherited from DataAccessRepository.) | |
| CreateQueryT |
Returns IQueryable that can be used in LINQ expressions which query the repository
(Inherited from DataAccessRepository.) | |
| DuplicateObject |
Duplicates the object.
| |
| EnsureFullyLoaded |
Ensures that the specified objects are fully loaded.
(Inherited from Repository.) | |
| EnumerateObjects |
Enumerates and returns the objects found in the specified buffer.
(Overrides DataAccessRepositoryEnumerateObjects(ObjectTransaction, IBuffer, Boolean).) | |
| ExecuteBusinessRules |
Validates the specified object for the specified business event.
(Inherited from EditableRepository.) | |
| GetAggregateRootRepository |
Gets the aggregate root repository.
If AggregateParentRepository is null the aggregate root is this repository.
(Inherited from Repository.) | |
| GetGhostObject |
Gets the ghost object of the current repository.
| |
| GetIdAttribute |
Returns the attribute, which gets the Id of entity objects
| |
| GetLocalObjectByKey |
Finds local object with the specified repository-specific key.
Returns null if the object is not found in the local buffer.
| |
| GetObjectByKey |
Finds or loads object with the specified repository-specific key.
The object is loaded as lazy as possible.
| |
| GetObjectByPrimaryKey |
Gets or loads the object with the specified primary key.
| |
| GetObjectByRow |
Finds or creates an object, referencing the specified buffer row.
(Inherited from DataAccessRepository.) | |
| GetObjectKeys |
Gets the repository-specific object keys from the objects in the specified buffer.
| |
| GetObjectsByKeys |
Find or loads objects with the specified repository-specific keys.
The objects are eagerly mass loaded.
| |
| GetObjectsByPrimaryKeys |
Gets or loads the objects with the specified primary keys.
The objects are eagerly mass loaded.
| |
| GetObjectsByRows |
Finds or creates objects, referencing the specified buffer row.
(Inherited from DataAccessRepository.) | |
| GetParentReference |
Gets the parent ownership reference.
(Inherited from Repository.) | |
| GetReferenceTObject, 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.) | |
| InstantiateNewObject |
Creates a new domain object of the type, managed by the repository.
(Inherited from EditableRepository.) | |
| IsAggregateRoot |
Returns true if this repository is aggregate root.
(Inherited from Repository.) | |
| ReadToBuffer |
Executes the query and returns the result in a buffer
(Inherited from DataAccessRepository.) | |
| RefreshAttributes |
Refreshes the attributes collection.
(Inherited from Repository.) | |
| RegisterRule |
Registers a constraint for the specified validation events.
(Inherited from EditableRepository.) | |
| RegisterRuleForTBusinessEvent |
Registers the rule for all events of the specified event type.
(Inherited from EditableRepository.) | |
| RegisterRuleForAttributeChanged(String, IBusinessRule) |
Registers a rule for the AttributeChangedBusinessEvent event.
(Inherited from EditableRepository.) | |
| RegisterRuleForAttributeChanged(IDataAttribute, IBusinessRule) |
Registers a rule for the AttributeChangedBusinessEvent event.
(Inherited from EditableRepository.) | |
| RegisterRuleForAttributeChanging |
Registers a rule for the AttributeChangingBusinessEvent event.
(Inherited from EditableRepository.) | |
| RegisterRuleForCommit |
Registers a constraint for the Commit validation event. For more information, ValidationEvent.
(Inherited from EditableRepository.) | |
| RegisterRuleForObjectReferenceChanged |
Registers a rule for the ObjectReferenceChangedBusinessEvent event.
(Inherited from EditableRepository.) |
| Name | Description | |
|---|---|---|
| GetExpressionDependencies |
Gets the data attributes and references (from the repository) on which the expression depends.
(Defined by RepositoryExtensions.) |