DotNetNuke.ComponentModel.DataAnnotations.PrimaryKeyAttribute

Namespace: DotNetNuke.ComponentModel.DataAnnotations
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public PrimaryKeyAttribute(
	string columnName,
	string propertyName
)
Visual Basic
Public Sub New ( 
	columnName As String,
	propertyName As String
)

Parameters

columnName
Type: System..::..String
paramcolumnNameM:DotNetNuke.ComponentModel.DataAnnotations.PrimaryKeyAttribute.#ctor(System.String,System.String)
propertyName
Type: System..::..String
parampropertyNameM:DotNetNuke.ComponentModel.DataAnnotations.PrimaryKeyAttribute.#ctor(System.String,System.String)

See Also