XPMemberInfo.IsAutoGenerate Property
Gets whether the member is the auto-generated key.
Namespace: DevExpress.Xpo.Metadata
Assembly: DevExpress.Xpo.v24.1.dll
NuGet Packages: DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap, DevExpress.Xpo
NuGet Package: DevExpress.Xpo
Declaration
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