XPClassInfo.NullableBehavior Property
Determines if nullable columns should be created when updating the database schema for the persistent class described by the current XPClassInfo object.
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 |
---|---|
NullableBehavior | A NullableBehavior enumeration value specifying if a nullable column should be created when updating the database schema. |
Remarks
To change the NullableBehavior value, apply the NullableBehaviorAttribute in the persistent class declaration. You can also change this setting globally, using the static XpoDefault.NullableBehavior property. To change behavior for an individual field, use the NullableAttribute attribute.