Click or drag to resize
DataAccessAdapterCore.FetchProjection Method (List<IDataValueProjector>, IGeneralDataProjector, IDataReader)
Projects the current resultset of the passed in datareader using the value projectors and the projector specified. The reader will be left open

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
public void FetchProjection(
	List<IDataValueProjector> valueProjectors,
	IGeneralDataProjector projector,
	IDataReader reader
)

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.
reader
Type: System.Data.IDataReader
The reader which points to the first row of a resultset

Implements

IDataAccessAdapter.FetchProjection(List<IDataValueProjector>, IGeneralDataProjector, IDataReader)
Remarks
Use this overload together with FetchDataReader if your datareader contains multiple resultsets, so you have fine-grained control over how you want to project which resultset in the datareader. The resultset won't be cached in the resultset cache. To cache the resultset, use the overload which accepts the IRetrievalQuery executed
See Also