21 namespace Deveel.Data.Sql.Sequences {
30 if (sequenceName == null)
31 throw new ArgumentNullException(
"sequenceName");
33 SequenceName = sequenceName;
48 : this(sequenceName, startValue, increment, minValue, maxValue, cache, true) {
63 : this(sequenceName, startValue, increment, minValue, maxValue, 256, cycle) {
80 StartValue = startValue;
81 Increment = increment;
95 get {
return SequenceName; }
127 public long Cache {
get;
private set; }
135 public bool Cycle {
get;
private set; }
Describes the name of an object within a database.
SequenceInfo(ObjectName sequenceName, SqlNumber startValue, SqlNumber increment, SqlNumber minValue, SqlNumber maxValue, bool cycle)
Constructs a new object with the information given
Denotes a sequence created by the user and that has a specified incremental factor, and other attributes.
A user-defined TYPE that holds complex objects in a database column.
Provides the meta information about a ISequence configuring its operative behavior.
static SequenceInfo Native(ObjectName tableName)
Creates an object that describes a native sequence for the table having the specified name...
SequenceInfo(ObjectName sequenceName, SequenceType sequenceType)
DbObjectType
The kind of objects that can be handled by a database system and its managers
SequenceType
The form of a ISequence object in a transaction.
SequenceInfo(ObjectName sequenceName, SqlNumber startValue, SqlNumber increment, SqlNumber minValue, SqlNumber maxValue, long cache, bool cycle)
Constructs a new object with the information given
SequenceInfo(ObjectName sequenceName, SqlNumber startValue, SqlNumber increment, SqlNumber minValue, SqlNumber maxValue, long cache)
Constructs a new object with the information given