Class PrimaryKeyAttribute
Inheritance
System.Object
PrimaryKeyAttribute
Assembly: DotNetNuke.dll
Syntax
public class PrimaryKeyAttribute : Attribute
Constructors
|
Improve this Doc
View Source
PrimaryKeyAttribute(String, String)
Declaration
public PrimaryKeyAttribute(string columnName, string propertyName)
Parameters
| Type |
Name |
Description |
| System.String |
columnName |
|
| System.String |
propertyName |
|
|
Improve this Doc
View Source
PrimaryKeyAttribute(String)
Declaration
public PrimaryKeyAttribute(string columnName)
Parameters
| Type |
Name |
Description |
| System.String |
columnName |
|
Properties
|
Improve this Doc
View Source
AutoIncrement
Declaration
public bool AutoIncrement { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
ColumnName
Declaration
public string ColumnName { get; set; }
Property Value
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
PropertyName
Declaration
public string PropertyName { get; set; }
Property Value
| Type |
Description |
| System.String |
|
Extension Methods