Click or drag to resize

ViewRepository Class

Represents a view. Provides a read-only view over the data sources data.
Inheritance Hierarchy

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

The ViewRepository type exposes the following members.

Constructors
  NameDescription
Public methodViewRepository
Initializes a new instance of the ViewRepository class.
Top
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.)
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 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 methodIsAggregateRoot
Returns true if this repository is aggregate root.
(Inherited from Repository.)
Public methodReadToBuffer
Executes the query and returns the result in a buffer
(Overrides DataAccessRepositoryReadToBuffer(ObjectTransaction, DataAccessQuery).)
Public methodRefreshAttributes
Refreshes the attributes collection.
(Inherited from Repository.)
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
Remarks
Views are based on data source views, but also have and internal mechanism for rebuild. When the data source supports views, the data is extracted from the data source. For data sources, which do not support views, the views are internally rebuilt.
See Also