Typically dialects which support sequences can create a sequence with a single command.

Namespace: NHibernate.Dialect
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public virtual string GetCreateSequenceString(
	string sequenceName
)
Visual Basic
Public Overridable Function GetCreateSequenceString ( _
	sequenceName As String _
) As String
Visual C++
public:
virtual String^ GetCreateSequenceString(
	String^ sequenceName
)

Parameters

sequenceName
Type: System..::..String
The name of the sequence

Return Value

The sequence creation command

Remarks

This is convenience form of GetCreateSequenceStrings(String, Int32, Int32) to help facilitate that. Dialects which support sequences and can create a sequence in a single command need *only* override this method. Dialects which support sequences but require multiple commands to create a sequence should instead override GetCreateSequenceStrings(String, Int32, Int32).

See Also