DaoBase.GetAsProjectionAsync Method (List<IDataValueProjector>, IGeneralDataProjector, ITransaction, IRetrievalQuery, CancellationToken) |
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.4.0.0 (5.4.0)
Syntaxpublic Task GetAsProjectionAsync(
List<IDataValueProjector> valueProjectors,
IGeneralDataProjector projector,
ITransaction transactionToUse,
IRetrievalQuery queryToExecute,
CancellationToken cancellationToken
)
Public Function GetAsProjectionAsync (
valueProjectors As List(Of IDataValueProjector),
projector As IGeneralDataProjector,
transactionToUse As ITransaction,
queryToExecute As IRetrievalQuery,
cancellationToken As CancellationToken
) As Task
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. - transactionToUse
- Type: SD.LLBLGen.Pro.ORMSupportClasses.ITransaction
The transaction to use, if you execute this method inside a transcation. Specify null otherwise - queryToExecute
- Type: SD.LLBLGen.Pro.ORMSupportClasses.IRetrievalQuery
The query to execute. - cancellationToken
- Type: System.Threading.CancellationToken
The cancellation token.
Return Value
Type:
TaskImplements
IDao.GetAsProjectionAsync(List<IDataValueProjector>, IGeneralDataProjector, ITransaction, IRetrievalQuery, CancellationToken)
See Also