Click or drag to resize

GeneralUtilsProduceEmptyDataTable Method (IEntityFactoryCore, IElementCreatorCore)

Produces an empty data table for the entity type with the factory specified

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
public static DataTable ProduceEmptyDataTable(
	IEntityFactoryCore factory,
	IElementCreatorCore elementCreator
)

Parameters

factory
Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityFactoryCore
The factory.
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