Repository Class |
Namespace: Aloe.SystemFrameworks.Domain
The Repository type exposes the following members.
Name | Description | |
---|---|---|
![]() | AggregateParentRepository |
Gets the aggregate parent repository.
|
![]() | Attributes |
List of Attributes of the container
|
![]() | LocalizedName |
Gets the name of the repository in the current UI culture.
|
![]() | Name |
The name of the repository, including the name-space.
|
![]() | ObjectType |
Gets the type of the domain objects, which are managed by the repository.
|
![]() | ParentRepository |
Gets the parent repository or null if there is no parent repository.
|
![]() | References |
List of references to entity objects
|
![]() | RepositorySource |
The RepositorySource of this repository, which allows the repository to access other repositories.
|
Name | Description | |
---|---|---|
![]() | ConsumeObjects |
Consumes and returns the objects found in the specified buffer.
|
![]() | CreateQueryT |
Returns IQueryable that can be used in LINQ expressions which query the repository
|
![]() | EnsureFullyLoaded |
Ensures that the specified objects are fully loaded.
|
![]() | EnumerateObjects |
Enumerates and returns the objects found in the specified buffer.
|
![]() | GetAggregateRootRepository |
Gets the aggregate root repository.
If AggregateParentRepository is null the aggregate root is this repository.
|
![]() | GetParentReference |
Gets the parent ownership reference.
|
![]() | GetReferenceTObject, TResult |
Gets the backing reference of the member, specified in the expression. The expression should be in the format 's => s.Member'.
|
![]() | IsAggregateRoot |
Returns true if this repository is aggregate root.
|
![]() | RefreshAttributes |
Refreshes the attributes collection.
|
Name | Description | |
---|---|---|
![]() | GetExpressionDependencies |
Gets the data attributes and references (from the repository) on which the expression depends.
(Defined by RepositoryExtensions.) |
Each domain object class requires a corresponding repository class. The repository class handles object creation, loading, validation and querying. The intermediate, even the abstract domain classes also require repository class, if they need to able to be queried.
The repository also contains the meta data about the objects, such as Attributes, References and ChildLists.