Click or drag to resize

TransactionQueryTObject, TRepository Class

A transient instances class, which serves only as convenience method for typed access to the repository and queries of an entity type.
Inheritance Hierarchy
SystemObject
  Aloe.SystemFrameworks.Domain.LINQTransactionQueryTObject, TRepository

Namespace:  Aloe.SystemFrameworks.Domain.LINQ
Assembly:  Aloe.SystemFrameworks.Domain (in Aloe.SystemFrameworks.Domain.dll) Version: 20.1.3.5
Syntax
public class TransactionQuery<TObject, TRepository> : IQueryable<TObject>, 
	IEnumerable<TObject>, IEnumerable, IQueryable
where TObject : DomainObject
where TRepository : Repository

Type Parameters

TObject
The type of the object.
TRepository
The type of the repository.

The TransactionQueryTObject, TRepository type exposes the following members.

Constructors
  NameDescription
Public methodTransactionQueryTObject, TRepository
Initializes a new instance of the TransactionQueryTObject, TRepository class.
Top
Properties
  NameDescription
Public propertyElementType
Gets the type of the element(s) that are returned when the expression tree associated with this instance of IQueryable is executed.
Public propertyExpression
Gets the expression tree that is associated with the instance of IQueryable.
Public propertyProvider
Gets the query provider that is associated with this data source.
Public propertyRepository
Gets the repository.
Top
Methods
  NameDescription
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
Top
Extension Methods
  NameDescription
Public Extension MethodPreloadTObject(ILazyProperty)Overloaded.
Preloads the value of the specified lazy property for the objects in the sequence.
(Defined by LinqExtensions.)
Public Extension MethodPreloadTObject, TResult(ExpressionFuncTObject, TResult)Overloaded.
Preloads the full object state for all objects returned by applying the expression to each element in source. This is still a research method, which will be renamed later to .Preload().
(Defined by LinqExtensions.)
Public Extension MethodCode exampleSplitTObject
Splits the input IEnumerable in chunks with the specified size.
(Defined by Splitter.)
Public Extension MethodTopologicalSortTObject
Topological sort based on item dependencies.
(Defined by RepositoryExtensions.)
Top
See Also