Click or drag to resize
DataAccessAdapterBase.FetchProjectionAsync<T> Method (IRetrievalQuery, CancellationToken)
Async variant of FetchProjection< T> (IRetrievalQuery) Executes the passed in retrievalquery and projects the resultset onto instances of T (each row is materialized into an instance of T). If a transaction is in progress, the command is wired to the transaction and executed inside the transaction.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.3.0.0 (5.3.0)
Syntax
public override Task<List<T>> FetchProjectionAsync<T>(
	IRetrievalQuery queryToExecute,
	CancellationToken cancellationToken
)

Parameters

queryToExecute
Type: SD.LLBLGen.Pro.ORMSupportClasses.IRetrievalQuery
The query to execute.
cancellationToken
Type: System.Threading.CancellationToken
The cancellation token.

Type Parameters

T

Return Value

Type: Task<List<T>>
List of instances of T, one for each row in the resultset of queryToExecute

Implements

IDataAccessAdapter.FetchProjectionAsync<T>(IRetrievalQuery, CancellationToken)
See Also