MetaDataStoreGetOrCreateTable Method |
Gets or creates a new table for the database with the driverid specified. If catalog and / or schema aren't available these are created as well.
Namespace:
SD.LLBLGen.Pro.ApplicationCore.MetaData
Assembly:
SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.11.0.0 (5.11.23.1114)
Syntax public DBTable GetOrCreateTable(
string driverID,
string catalogName,
string schemaName,
string tableName
)
Public Function GetOrCreateTable (
driverID As String,
catalogName As String,
schemaName As String,
tableName As String
) As DBTable
Parameters
- driverID
- Type: SystemString
The driver ID. - catalogName
- Type: SystemString
Name of the catalog. - schemaName
- Type: SystemString
Name of the schema. - tableName
- Type: SystemString
Name of the table.
Return Value
Type:
DBTablethe new table created or null if meta-data wasn't found or null if the schema's syncsource is set to 'Database'.
See Also