RepositoryCreateQueryT Method |
Returns IQueryable that can be used in LINQ expressions which query the repository
Namespace:
Aloe.SystemFrameworks.Domain
Assembly:
Aloe.SystemFrameworks.Domain (in Aloe.SystemFrameworks.Domain.dll) Version: 20.1.3.5
Syntaxpublic abstract ObjectQuery<T> CreateQuery<T>(
ObjectTransaction transaction
)
where T : DomainObject
Public MustOverride Function CreateQuery(Of T As DomainObject) (
transaction As ObjectTransaction
) As ObjectQuery(Of T)
public:
generic<typename T>
where T : DomainObject
virtual ObjectQuery<T>^ CreateQuery(
ObjectTransaction^ transaction
) abstract
abstract CreateQuery :
transaction : ObjectTransaction -> ObjectQuery<'T> when 'T : DomainObject
Parameters
- transaction
- Type: Aloe.SystemFrameworks.DomainObjectTransaction
Type Parameters
- T
Return Value
Type:
ObjectQueryTIQueryable for the repository
Remarks
The IQueryable that is returned supports a subset of the full LINQ.
For more information see
ObjectQueryTObject
See Also