XPMemberInfo.IsKey Property

Gets whether the member represents a key member.

Namespace: DevExpress.Xpo.Metadata

Assembly: DevExpress.Xpo.v19.2.dll

Declaration

public bool IsKey { get; }
Public ReadOnly Property IsKey As Boolean
public bool IsKey { get; }
Public ReadOnly Property IsKey As Boolean

Property Value

Type Description
Boolean

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

Property Value

Type Description
Boolean

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

Remarks

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