DataAccessAdapterBaseFetchProjectionAsync Method (ListIDataValueProjector, IGeneralDataProjector, IRetrievalQuery, ListIEntityFieldCore, Boolean, CancellationToken) |
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.8.0.0 (5.8.21.0111)
Syntax protected override Task FetchProjectionAsync(
List<IDataValueProjector> valueProjectors,
IGeneralDataProjector projector,
IRetrievalQuery queryToExecute,
List<IEntityFieldCore> fieldsInProjection,
bool performValueProjectionsOnRawRow,
CancellationToken cancellationToken
)
Protected Overrides Function FetchProjectionAsync (
valueProjectors As List(Of IDataValueProjector),
projector As IGeneralDataProjector,
queryToExecute As IRetrievalQuery,
fieldsInProjection As List(Of IEntityFieldCore),
performValueProjectionsOnRawRow As Boolean,
cancellationToken As CancellationToken
) As Task
Parameters
- valueProjectors
- Type: System.Collections.GenericListIDataValueProjector
The value projectors. - projector
- Type: SD.LLBLGen.Pro.ORMSupportClassesIGeneralDataProjector
The projector to use for projecting a plain row onto a new object provided by the projector. - queryToExecute
- Type: SD.LLBLGen.Pro.ORMSupportClassesIRetrievalQuery
The query to execute. - fieldsInProjection
- Type: System.Collections.GenericListIEntityFieldCore
The fields in projection, which are used to determine the type converters to use. - performValueProjectionsOnRawRow
- Type: SystemBoolean
if set to true the projection method will perform value projections on the plain row prior to using it
in the projector and will create a new object row to store the projected values in. If false, the plain row is passed on as-is - cancellationToken
- Type: System.ThreadingCancellationToken
The cancellation token.
Return Value
Type:
TaskSee Also