Click or drag to resize
EntityView2TEntityIEntityView2CreateProjection Method (ListIEntityPropertyProjector, IEntityCollection2, Boolean, IPredicate)
Projects the data in the view onto a new set, stored in an entity 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.3.0.0 (5.3.0)
Syntax
void IEntityView2.CreateProjection(
	List<IEntityPropertyProjector> propertyProjectors,
	IEntityCollection2 destination,
	bool allowDuplicates,
	IPredicate filter
)

Parameters

propertyProjectors
Type: System.Collections.GenericListIEntityPropertyProjector
The property projector objects to produce the data for the new set.
destination
Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityCollection2
The destination entity collection which will contain the data from this view and which forms a new set. Data which is an object references is not copied by value, but is copied by reference.
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, IEntityCollection2, Boolean, IPredicate)
See Also