Click or drag to resize

GeneralUtils.ProduceEmptyDataTable 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.12.0.0 (5.12.0)
Syntax
public static DataTable ProduceEmptyDataTable(
	IEntityFactoryCore factory,
	IElementCreatorCore elementCreator
)

Parameters

factory
Type: SD.LLBLGen.Pro.ORMSupportClasses.IEntityFactoryCore
The factory.
elementCreator
Type: SD.LLBLGen.Pro.ORMSupportClasses.IElementCreatorCore
The element creator.

Return Value

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