AutoIncrement Constructor |
Use in class definition preceding a field declaration, i.e. [AutoIncrement(1)]
Namespace:
VelocityDb.TypeInfo
Assembly:
VelocityDb (in VelocityDb.dll) Version: 11.1.0.0 (11.1)
Syntax public AutoIncrement(
ushort start = 0
)
Public Sub New (
Optional start As UShort = 0
)
public:
AutoIncrement(
unsigned short start = 0
)
new :
?start : uint16
(* Defaults:
let _start = defaultArg start 0
*)
-> AutoIncrement
Parameters
- start (Optional)
- Type: SystemUInt16
The requested start number of the auto increment sequence. Default is 0 so that first persisted object is assigned number 1, second number 2 and so on.
See Also