Show / Hide Table of Contents

Constructor IdentityAttribute

| Improve this Doc View Source

IdentityAttribute()

Initializes a new instance of IdentityAttribute.

Declaration
public IdentityAttribute()
| Improve this Doc View Source

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.

  • Improve this Doc
  • View Source
Back to top Copyright © Weifen Luo | DevZest