EntityViewBaseTEntityCreateProjection 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.4.0.0 (5.4.0)
Syntax protected void CreateProjection(
List<IEntityPropertyProjector> propertyProjectors,
bool allowDuplicates,
IPredicate filter,
IEntityDataProjector projector
)
Protected Sub CreateProjection (
propertyProjectors As List(Of IEntityPropertyProjector),
allowDuplicates As Boolean,
filter As IPredicate,
projector As IEntityDataProjector
)
Parameters
- propertyProjectors
- Type: System.Collections.GenericListIEntityPropertyProjector
The property projectors. - allowDuplicates
- Type: SystemBoolean
if set to false, it will perform distinct filtering on all rows. - filter
- Type: SD.LLBLGen.Pro.ORMSupportClassesIPredicate
The filter to select the source entities in this view. - projector
- Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityDataProjector
the actual projector engine. It is used to convert plain projection data into a real object inside the
projector object.
See Also