IDatabaseSequence Interface

Provides access to members that request database sequences.

Members

Name Description
Method CreateSequence Create a new sequence.
Method DropSequence Drop a sequence.
Method GetSequenceInfo Get the current value and increment value in a sequence.
Method NextSequenceValue Get the next value in a sequence.
Method RestartSequence Restart a sequence.
Method SequenceExists Check the existence of a sequence.
Read-only property Sequences The sequences in the database.

IDatabaseSequence.CreateSequence Method

Create a new sequence.

Public Sub CreateSequence ( _
    ByVal sequenceName As String, _
    ByVal StartValue As Integer, _
    ByVal IncrementValue As Integer _
)
public void CreateSequence (
    string sequenceName,
    int StartValue,
    int IncrementValue
);

IDatabaseSequence.DropSequence Method

Drop a sequence.

Public Sub DropSequence ( _
    ByVal sequenceName As String _
)
public void DropSequence (
    string sequenceName
);

IDatabaseSequence.GetSequenceInfo Method

Get the current value and increment value in a sequence.

Public Sub GetSequenceInfo ( _
    ByVal sequenceName As String, _
    ByRef CurrentValue As Integer, _
    ByRef IncrementValue As Integer _
)
public void GetSequenceInfo (
    string sequenceName,
    ref int CurrentValue,
    ref int IncrementValue
);

IDatabaseSequence.NextSequenceValue Method

Get the next value in a sequence.

Public Function NextSequenceValue ( _
    ByVal sequenceName As String _
) As Integer
public int NextSequenceValue (
    string sequenceName
);

IDatabaseSequence.RestartSequence Method

Restart a sequence.

Public Sub RestartSequence ( _
    ByVal sequenceName As String, _
    ByVal StartValue As Integer, _
    ByVal IncrementValue As Integer _
)
public void RestartSequence (
    string sequenceName,
    int StartValue,
    int IncrementValue
);

IDatabaseSequence.SequenceExists Method

Check the existence of a sequence.

Public Function SequenceExists ( _
    ByVal sequenceName As String _
) As Boolean
public bool SequenceExists (
    string sequenceName
);

IDatabaseSequence.Sequences Property

The sequences in the database.

Public ReadOnly Property Sequences As IEnumSequence
public IEnumSequence Sequences {get;}

Classes that implement IDatabaseSequence

Classes Description

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.