| MetaDataStoreGetOrCreateSequence Method  | 
            Gets or creates a new sequence 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.MetaDataAssembly: SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.0.0.0 (5.0.0)
Syntaxpublic DBSequence GetOrCreateSequence(
	string driverID,
	string catalogName,
	string schemaName,
	string sequenceName
)
Public Function GetOrCreateSequence ( 
	driverID As String,
	catalogName As String,
	schemaName As String,
	sequenceName As String
) As DBSequence
Parameters
- driverID
 - Type: SystemString
The driver ID. - 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 new sequence created or null if meta-data wasn't found or null if the schema's syncsource is set to 'Database'.
See Also