Provides access to members that request database sequences.
Members
| Name | Description | |
|---|---|---|
![]() |
CreateSequence | Create a new sequence. |
![]() |
DropSequence | Drop a sequence. |
![]() |
GetSequenceInfo | Get the current value and increment value in a sequence. |
![]() |
NextSequenceValue | Get the next value in a sequence. |
![]() |
RestartSequence | Restart a sequence. |
![]() |
SequenceExists | Check the existence of a sequence. |
![]() |
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, _
    ByRef StartValue As Integer _
)
public void GetSequenceInfo (
    string sequenceName,
    ref int CurrentValue,
    ref int IncrementValue,
    ref int StartValue
);
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 |
|---|

