Click or drag to resize
GeneralUtilsProduceEmptyDataTable Method (Int32, IElementCreatorCore)
Produces an empty data table for the entity type specified

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.2.0.0 (5.2.17.0403)
Syntax
public static DataTable ProduceEmptyDataTable(
	int entityTypeOfEntity,
	IElementCreatorCore elementCreator
)

Parameters

entityTypeOfEntity
Type: SystemInt32
The entity type of entity.
elementCreator
Type: SD.LLBLGen.Pro.ORMSupportClassesIElementCreatorCore
The element creator.

Return Value

Type: DataTable
empty datatable with all the columns added and with PK constraints
See Also