DataAccessAdapterBase.FetchProjection Method (List<IDataValueProjector>, IGeneralDataProjector, IRetrievalQuery, List<IEntityFieldCore>, Boolean) |
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.4.0.0 (5.4.0)
Syntaxprotected override void FetchProjection(
List<IDataValueProjector> valueProjectors,
IGeneralDataProjector projector,
IRetrievalQuery queryToExecute,
List<IEntityFieldCore> fieldsInProjection,
bool performValueProjectionsOnRawRow
)
Protected Overrides Sub FetchProjection (
valueProjectors As List(Of IDataValueProjector),
projector As IGeneralDataProjector,
queryToExecute As IRetrievalQuery,
fieldsInProjection As List(Of IEntityFieldCore),
performValueProjectionsOnRawRow As Boolean
)
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. - fieldsInProjection
- Type: System.Collections.Generic.List<IEntityFieldCore>
The fields in projection, which are used to determine the type converters to use. - performValueProjectionsOnRawRow
- Type: System.Boolean
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
See Also