Knight Data Access Layer
DefaultPrimaryKeyName Property (IAutoMap)




KellermanSoftware.NetDataAccessLayer Namespace > IAutoMap Interface : DefaultPrimaryKeyName Property
Default primary key in the database. For an exact match with a class and database table, set to string.empty The default is TableNameId
Syntax
Property DefaultPrimaryKeyName As String
Dim instance As IAutoMap
Dim value As String
 
instance.DefaultPrimaryKeyName = value
 
value = instance.DefaultPrimaryKeyName
string DefaultPrimaryKeyName {get; set;}
__property string* get_DefaultPrimaryKeyName();
__property void set_DefaultPrimaryKeyName( 
   string* value
);
property String^ DefaultPrimaryKeyName {
   String^ get();
   void set (    String^ 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

IAutoMap Interface
IAutoMap Members