IEntityViewCreateProjection Method (ListIEntityPropertyProjector, DataTable, Boolean) |
Projects the data in the view onto a new set, stored in a datatable using the property projector objects to produce the actual data.
Namespace: SD.LLBLGen.Pro.ORMSupportClassesAssembly: SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.0.0.0 (5.0.0)
Syntax void CreateProjection(
List<IEntityPropertyProjector> propertyProjectors,
DataTable destination,
bool allowDuplicates
)
Sub CreateProjection (
propertyProjectors As List(Of IEntityPropertyProjector),
destination As DataTable,
allowDuplicates As Boolean
)
Parameters
- propertyProjectors
- Type: System.Collections.GenericListIEntityPropertyProjector
The property projector objects to produce the data for the new set. - destination
- Type: System.DataDataTable
The destination datatable 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.
See Also