Click or drag to resize

EntityViewBase<TEntity>.CreateProjection Method

Creates a projection of the current view data, using the passed in field projections and the projector.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.12.0.0 (5.12.0)
Syntax
protected void CreateProjection(
	List<IEntityPropertyProjector> propertyProjectors,
	bool allowDuplicates,
	IPredicate filter,
	IEntityDataProjector projector
)

Parameters

propertyProjectors
Type: System.Collections.Generic.List<IEntityPropertyProjector>
The property projectors.
allowDuplicates
Type: System.Boolean
if set to false, it will perform distinct filtering on all rows.
filter
Type: SD.LLBLGen.Pro.ORMSupportClasses.IPredicate
The filter to select the source entities in this view.
projector
Type: SD.LLBLGen.Pro.ORMSupportClasses.IEntityDataProjector
the actual projector engine. It is used to convert plain projection data into a real object inside the projector object.
See Also