Specify the name of a data property to be used as primary key.

Namespace: Composite.Data
Assembly: Composite (in Composite.dll) Version: 6.1.6325.31818

Syntax

C#
public KeyPropertyNameAttribute(
	string propertyName
)
Visual Basic
Public Sub New ( _
	propertyName As String _
)
Visual C++
public:
KeyPropertyNameAttribute(
	String^ propertyName
)

Parameters

propertyName
Type: System..::..String
Name of data property

See Also