Click or drag to resize

DataAccessAdapterCore.FetchProjectionAsync Method (List<IDataValueProjector>, IGeneralDataProjector, IRetrievalQuery, CancellationToken)

Async variant of FetchProjection(List<IDataValueProjector> , IGeneralDataProjector, IRetrievalQuery) Executes the passed in retrievalquery and projects the resultset using the value projectors and the projector specified. 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 projector.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.11.0.0 (5.11.23.1114)
Syntax
public virtual Task FetchProjectionAsync(
	List<IDataValueProjector> valueProjectors,
	IGeneralDataProjector projector,
	IRetrievalQuery queryToExecute,
	CancellationToken cancellationToken
)

Parameters

valueProjectors
Type: System.Collections.Generic.List<IDataValueProjector>
The value projectors.
projector
Type: SD.LLBLGen.Pro.ORMSupportClasses.IGeneralDataProjector
The projector to use for projecting a plain row onto a new object provided by the projector.
queryToExecute
Type: SD.LLBLGen.Pro.ORMSupportClasses.IRetrievalQuery
The query to execute.
cancellationToken
Type: System.Threading.CancellationToken
The cancellation token.

Return Value

Type: Task

Implements

IDataAccessAdapter.FetchProjectionAsync(List<IDataValueProjector>, IGeneralDataProjector, IRetrievalQuery, CancellationToken)
See Also