Click or drag to resize
DataAccessAdapterCoreFetchProjection Method (ListIDataValueProjector, IGeneralDataProjector, IEntityFields2, IRelationPredicateBucket, Int32, Boolean)
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 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.0.0.0 (5.0.0)
Syntax
public void FetchProjection(
	List<IDataValueProjector> valueProjectors,
	IGeneralDataProjector projector,
	IEntityFields2 fields,
	IRelationPredicateBucket filter,
	int maxNumberOfItemsToReturn,
	bool allowDuplicates
)

Parameters

valueProjectors
Type: System.Collections.GenericListIDataValueProjector
The value projectors.
projector
Type: SD.LLBLGen.Pro.ORMSupportClassesIGeneralDataProjector
The projector to use for projecting a raw row onto a new object provided by the projector.
fields
Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityFields2
The fields to use to build the query.
filter
Type: SD.LLBLGen.Pro.ORMSupportClassesIRelationPredicateBucket
The filter.
maxNumberOfItemsToReturn
Type: SystemInt32
The max number of items to return. Specify 0 to return all elements
allowDuplicates
Type: SystemBoolean
If set to true, allow duplicates in the resultset, otherwise it will emit DISTINCT into the query (if possible).

Implements

IDataAccessAdapterFetchProjection(ListIDataValueProjector, IGeneralDataProjector, IEntityFields2, IRelationPredicateBucket, Int32, Boolean)
See Also