Click or drag to resize

DaoBaseGetAsProjectionAsyncT Method (IRetrievalQuery, CancellationToken)

Async variant of GetAsProjectionT(IRetrievalQuery) Executes the passed in retrievalquery and projects the resultset onto instances of T (each row is materialized into an instance of T).

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.10.0.0 (5.10.0)
Syntax
public Task<List<T>> GetAsProjectionAsync<T>(
	IRetrievalQuery queryToExecute,
	CancellationToken cancellationToken
)

Parameters

queryToExecute
Type: SD.LLBLGen.Pro.ORMSupportClassesIRetrievalQuery
The query to execute.
cancellationToken
Type: System.ThreadingCancellationToken
The cancellation token.

Type Parameters

T

Return Value

Type: TaskListT
List of instances of T, one for each row in the resultset of queryToExecute

Implements

IDaoGetAsProjectionAsyncT(IRetrievalQuery, CancellationToken)
See Also