DatabaseMetaDataGetOrCreateTable Method |
Gets or creates a new table. 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.6.0.0 (5.6.19.0117)
Syntax public DBTable GetOrCreateTable(
string catalogName,
string schemaName,
string tableName
)
Public Function GetOrCreateTable (
catalogName As String,
schemaName As String,
tableName As String
) As DBTable
Parameters
- 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 newly created table or null if the schema's syncsource is set to 'Database'.
See Also