Skip to main content

XPMemberInfo.IsAutoGenerate Property

Gets whether the member is the auto-generated key.

Namespace: DevExpress.Xpo.Metadata

Assembly: DevExpress.Xpo.v24.2.dll

Declaration

public bool IsAutoGenerate { get; }

Property Value

Type Description
Boolean

true if the member is the auto-generated key; otherwise, flase.

Remarks

If KeyAttribute is applied to a property or a field, the property (field) is marked as a key. If the KeyAttribute.AutoGenerate property is set to true, the key is generated automatically. In this instance, the IsAutoGenerate property return’s true.

See Also