EntityCollectionBase2TEntityIEntityCollection2CreateHierarchicalProjection 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.7.0.0 (5.7.0)
Syntax void IEntityCollection2.CreateHierarchicalProjection(
List<IViewProjectionData> collectionProjections,
DataSet destination
)
Private Sub CreateHierarchicalProjection (
collectionProjections As List(Of IViewProjectionData),
destination As DataSet
) Implements IEntityCollection2.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
IEntityCollection2CreateHierarchicalProjection(ListIViewProjectionData, DataSet)Remarks destination is cleared before a projection is performed.
See Also