Constructor IdentityAttribute
| Improve this Doc View SourceIdentityAttribute()
Initializes a new instance of IdentityAttribute.
Declaration
public IdentityAttribute()
IdentityAttribute(Int32, Int32)
Initializes a new instance of IdentityAttribute with specified seed and increment.
Declaration
public IdentityAttribute(int seed, int increment)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | seed | The first value of the identity column. |
System.Int32 | increment | The increment each time a new value generated from the identity column. |