DatabaseMetaDataGetOrCreateSequence Method |
Gets or creates a new sequence. 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.2.0.0 (5.2.17.0403)
Syntax public DBSequence GetOrCreateSequence(
string catalogName,
string schemaName,
string sequenceName
)
Public Function GetOrCreateSequence (
catalogName As String,
schemaName As String,
sequenceName As String
) As DBSequence
Parameters
- catalogName
- Type: SystemString
Name of the catalog. - schemaName
- Type: SystemString
Name of the schema. - sequenceName
- Type: SystemString
Name of the sequence.
Return Value
Type:
DBSequencethe newly created sequence or null if the schema's syncsource is set to 'Database'.
See Also