Knight Data Access Layer
IsPrimaryKey Property




KellermanSoftware.NetDataAccessLayer Namespace > Field Class : IsPrimaryKey Property
If true, this column is the primary key
Syntax
Public Property IsPrimaryKey As Boolean
Dim instance As Field
Dim value As Boolean
 
instance.IsPrimaryKey = value
 
value = instance.IsPrimaryKey
public bool IsPrimaryKey {get; set;}
public: __property bool get_IsPrimaryKey();
public: __property void set_IsPrimaryKey( 
   bool value
);
public:
property bool IsPrimaryKey {
   bool get();
   void set (    bool value);
}
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

Field Class
Field Members