EntityView2TEntityCreateProjection 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.11.0.0 (5.11.23.1114)
Syntax public virtual void CreateProjection(
List<IEntityPropertyProjector> propertyProjectors,
IEntityDataProjector projector,
bool allowDuplicates,
IPredicate filter
)
Public Overridable 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 projector 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
Implements
IEntityView2CreateProjection(ListIEntityPropertyProjector, IEntityDataProjector, Boolean, IPredicate)See Also