The KeyPropertyNameAttribute type exposes the following members.

Constructors

  NameDescription
Public methodKeyPropertyNameAttribute(String)
Specify the name of a data property to be used as primary key.
Public methodKeyPropertyNameAttribute(Int32, String)
Specify the name of a data property to be used as primary key.

Properties

  NameDescription
Public propertyIndex
An index of the field in a multi part primary key.

See Also