IEntityViewCreateProjection Method (ListIEntityPropertyProjector, IEntityDataProjector, Boolean, IPredicate) |
Projects the data in the view onto a new set, stored in a collection using the property projector objects to produce the actual data.
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 void CreateProjection(
List<IEntityPropertyProjector> propertyProjectors,
IEntityDataProjector projector,
bool allowDuplicates,
IPredicate filter
)
Sub CreateProjection (
propertyProjectors As List(Of IEntityPropertyProjector),
projector As IEntityDataProjector,
allowDuplicates As Boolean,
filter As IPredicate
)
Parameters
- propertyProjectors
- Type: System.Collections.GenericListIEntityPropertyProjector
The property projector objects to produce the data for the new set. - projector
- Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityDataProjector
The projector engine which will produce new objects in the returned list from the projection results per entity.
The data is offered to the projector on a per-row projection basis, what the project does with the data is up to the projector. - allowDuplicates
- Type: SystemBoolean
if set to false, it will perform distinct filtering on all values in the projection result. - filter
- Type: SD.LLBLGen.Pro.ORMSupportClassesIPredicate
Filter to apply on every entity in this view. If the filter resolves to true, the entity is used for projection
See Also