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

XPMemberInfo.IsAutoGenerate Property

Gets whether the member is the auto-generated key.

Namespace: DevExpress.Xpo.Metadata

Assembly: DevExpress.Xpo.v19.1.dll

Declaration

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

Property Value

Type Description
Boolean

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

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