Returns the next or current Oracle sequence value
Namespace:
DbNetLink.DataAssembly: DbNetLink.DbNetData (in DbNetLink.DbNetData.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
| C# |
|---|
public long GetSequenceValue( string SequenceName, bool Increment ) |
| Visual Basic (Declaration) |
|---|
Public Function GetSequenceValue ( _ SequenceName As String, _ Increment As Boolean _ ) As Long |
| Visual C++ |
|---|
public: long long GetSequenceValue( String^ SequenceName, bool Increment ) |
Parameters
- SequenceName
- Type: System..::.String
The name of the Oracle Sequence
- Increment
- Type: System..::.Boolean
If true returns the next value otherwise returns the current value