EntityCollectionBaseTEntityIEntityCollectionCreateHierarchicalProjection Method (ListIViewProjectionData, DataSet) |
Creates a hierarchical projection of all the data in this collection and for each type in the complete graph found starting with each entity in this collection,
using the collectionProjections data passed in. Per entity type found, a new datatable is created inside destination.
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 void IEntityCollection.CreateHierarchicalProjection(
List<IViewProjectionData> collectionProjections,
DataSet destination
)
Private Sub CreateHierarchicalProjection (
collectionProjections As List(Of IViewProjectionData),
destination As DataSet
) Implements IEntityCollection.CreateHierarchicalProjection
Parameters
- collectionProjections
- Type: System.Collections.GenericListIViewProjectionData
The projection data per entity type - destination
- Type: System.DataDataSet
The destination dataset in which the projection result is stored. Each DataTable has the name of the entity contained,
e.g. "CustomerEntity". DataRelations are created between the data if applicable.
Implements
IEntityCollectionCreateHierarchicalProjection(ListIViewProjectionData, DataSet)Remarks destination is cleared before a projection is performed.
See Also