Ninja Database Pro
PrimaryKeyAttribute Class
Members 



KellermanSoftware.NinjaDatabasePro Namespace : PrimaryKeyAttribute Class
Overrides the default behavior of looking for the property name Id or TableNameId
Syntax
<AttributeUsageAttribute(AttributeTargets.Property)>
Public NotInheritable Class PrimaryKeyAttribute 
   Inherits System.Attribute
Dim instance As PrimaryKeyAttribute
[AttributeUsage(AttributeTargets.Property)]
public sealed class PrimaryKeyAttribute : System.Attribute 
[AttributeUsage(AttributeTargets.Property)]
public ref class PrimaryKeyAttribute sealed : public System.Attribute 
Inheritance Hierarchy

System.Object
   System.Attribute
      KellermanSoftware.NinjaDatabasePro.PrimaryKeyAttribute

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

PrimaryKeyAttribute Members
KellermanSoftware.NinjaDatabasePro Namespace