The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.

XPClassInfo.KeyProperty Property

Gets information on the key property or key field.

Namespace: DevExpress.Xpo.Metadata

Assembly: DevExpress.Xpo.v19.1.dll

Declaration

public XPMemberInfo KeyProperty { get; }
Public ReadOnly Property KeyProperty As XPMemberInfo
public XPMemberInfo KeyProperty { get; }
Public ReadOnly Property KeyProperty As XPMemberInfo

Property Value

Type Description
XPMemberInfo

An XPMemberInfo object which provides information about the key property or key field. If null (Nothing in Visual Basic) a KeyPropertyAbsentException is thrown.

Property Value

Type Description
XPMemberInfo

An XPMemberInfo object which provides information about the key property or key field. If null (Nothing in Visual Basic) a KeyPropertyAbsentException is thrown.

Remarks

Use this property to retrieve information on the member which provides key values for unique identification of the persistent objects within the collection.

See the Microsoft .NET Framework Documentation and Microsoft SQL Server Guide in order to learn more about relational databases.

See Also