Click or drag to resize

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.8.0.0 (5.8.21.0208)
Syntax
public DBSequence GetOrCreateSequence(
	string catalogName,
	string schemaName,
	string sequenceName
)

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: DBSequence
the newly created sequence or null if the schema's syncsource is set to 'Database'.
See Also