XPMemberInfo.IsKey Property

Gets whether the member represents a key member.

Namespace: DevExpress.Xpo.Metadata

Assembly: DevExpress.Xpo.v21.2.dll


public bool IsKey { get; }

Property Value

Type Description

true if the member represents a key member; otherwise, false.


A key member is a member which uniquely identifies each object instance in the persistent object collection. There can only be one key member in the persistent object collection which is marked by the KeyAttribute.

See Also