Knight Data Access Layer
PrimaryKeyType Enumeration




KellermanSoftware.NetDataAccessLayer.Attributes Namespace : PrimaryKeyType Enumeration
The type of the primarykey
Syntax
Public Enum PrimaryKeyType 
   Inherits System.Enum
Dim instance As PrimaryKeyType
public enum PrimaryKeyType : System.Enum 
__value public enum PrimaryKeyType : public System.Enum 
public enum class PrimaryKeyType : public System.Enum 
Members
MemberDescription
Assign The primary key is set in the object
Guid The primary key is a Guid assigned by the data access layer
Identity The primary key is an identity set by the database and is auto incremented
Increment The primary key will be incremented by the data access layer using a Max(PrimaryKey) + 1 inside a transaction
Sequence The primary key is a Oracle or Firebird Sequence
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         KellermanSoftware.NetDataAccessLayer.Attributes.PrimaryKeyType

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

KellermanSoftware.NetDataAccessLayer.Attributes Namespace