Click or drag to resize
IDaoGetAsProjectionAsync Method (ListIDataValueProjector, IGeneralDataProjector, ITransaction, QueryParameters, CancellationToken)
Async variant of GetAsProjection(ListIDataValueProjector, IGeneralDataProjector, ITransaction, 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 specified, 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.3.0)
Task GetAsProjectionAsync(
	List<IDataValueProjector> valueProjectors,
	IGeneralDataProjector projector,
	ITransaction transactionToUse,
	QueryParameters parameters,
	CancellationToken cancellationToken


Type: System.Collections.GenericListIDataValueProjector
The value projectors.
Type: SD.LLBLGen.Pro.ORMSupportClassesIGeneralDataProjector
The projector to use for projecting a plain row onto a new object provided by the projector.
Type: SD.LLBLGen.Pro.ORMSupportClassesITransaction
The transaction to use, if you execute this method inside a transcation. Specify null otherwise
Type: SD.LLBLGen.Pro.ORMSupportClassesQueryParameters
The parameters.
Type: System.ThreadingCancellationToken
The cancellation token.

Return Value

Type: Task
See Also