Click or drag to resize

GeneralUtilsProduceEmptyDataSet Method

Produces an empty DataSet, with for every element specified in the specified prefetch path a DataTable. It adds PK constraints and DataRelations to each datatable added. The datatables have the name of the entity: per entity type found there's 1 table.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.6.0.0 (5.6.19.0117)
Syntax
public static DataSet ProduceEmptyDataSet(
	IPrefetchPathCore path,
	IElementCreatorCore elementCreator
)

Parameters

path
Type: SD.LLBLGen.Pro.ORMSupportClassesIPrefetchPathCore
The path.
elementCreator
Type: SD.LLBLGen.Pro.ORMSupportClassesIElementCreatorCore
The element creator.

Return Value

Type: DataSet
Ready to use, empty dataset with for every type in the prefetch path an empty datatable with all the columns specified
Remarks
Use the returned DataSet for hierarchical projections
See Also