Click or drag to resize
IDataAccessAdapter.FetchProjectionAsync Method (List<IDataValueProjector>, IGeneralDataProjector, QueryParameters, CancellationToken)
Async variant of FetchProjection(List<IDataValueProjector>, IGeneralDataProjector, QueryParameters). Creates a new Retrieval query from the elements passed in, executes that retrievalquery and projects the resultset of that query 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.0.0.0 (5.0.0)
Syntax
Task FetchProjectionAsync(
	List<IDataValueProjector> valueProjectors,
	IGeneralDataProjector projector,
	QueryParameters parameters,
	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 raw row onto a new object provided by the projector.
parameters
Type: SD.LLBLGen.Pro.ORMSupportClasses.QueryParameters
The parameters.
cancellationToken
Type: System.Threading.CancellationToken
The cancellation token.

Return Value

Type: Task
Exceptions
ExceptionCondition
ArgumentNullExceptionparameters
See Also