Click or drag to resize

EntityCollectionBase2TEntityCreateHierarchicalProjection 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 or if one with the name of the entity is already present, that one is used.

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 void CreateHierarchicalProjection(
	List<IViewProjectionData> collectionProjections,
	DataSet destination
)

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.
Remarks
Data in destination's datatables (if present) is removed before a projection is performed.
See Also