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.6.0.0 (5.6.19.0117)
Syntax public static DataTable ProduceEmptyDataTable(
int entityTypeOfEntity,
IElementCreatorCore elementCreator
)
Public Shared Function ProduceEmptyDataTable (
entityTypeOfEntity As Integer,
elementCreator As IElementCreatorCore
) As DataTable
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