Click or drag to resize

DataAccessAdapterCoreFetchProjectionAsyncT Method (ListT, IRetrievalQuery, CancellationToken, Boolean)

Async variant of FetchProjectionT(ListT, IRetrievalQuery, Boolean) 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. The projection results will be stored in the specified destination set.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.6.0.0 (5.6.19.0117)
Syntax
protected Task FetchProjectionAsync<T>(
	List<T> destination,
	IRetrievalQuery queryToExecute,
	CancellationToken cancellationToken,
	bool performImplicitTypeConversions = false
)

Parameters

destination
Type: System.Collections.GenericListT
The destination to which instances of T will be added.
queryToExecute
Type: SD.LLBLGen.Pro.ORMSupportClassesIRetrievalQuery
The query to execute.
cancellationToken
Type: System.ThreadingCancellationToken
The cancellation token.
performImplicitTypeConversions (Optional)
Type: SystemBoolean
If true, the projection code used will perform implicit type conversions using a slower pipeline. If false, it will use optimized projection logic which assumes the value at ordinal n is of the expected type.

Type Parameters

T

Return Value

Type: Task
See Also