Click or drag to resize

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.MetaData
Assembly:  SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.6.0.0 (5.6.19.0117)
Syntax
public DBSequence GetOrCreateSequence(
	string driverID,
	string catalogName,
	string schemaName,
	string sequenceName
)

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: DBSequence
the new sequence created or null if meta-data wasn't found or null if the schema's syncsource is set to 'Database'.
See Also