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.12.0.0 (5.12.0)
Syntaxpublic static DataTable ProduceEmptyDataTable(
IEntityFactoryCore factory,
IElementCreatorCore elementCreator
)
Public Shared Function ProduceEmptyDataTable (
factory As IEntityFactoryCore,
elementCreator As IElementCreatorCore
) As DataTable
Parameters
- factory
- Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityFactoryCore
The factory. - elementCreator
- Type: SD.LLBLGen.Pro.ORMSupportClassesIElementCreatorCore
The element creator.
Return Value
Type:
DataTableempty datatable with all the columns added and with PK constraints
See Also