XPMemberInfo.IsNullable Property
Determines if a nullable column should be created when updating the database schema for the persistent class member described by the current XPMemberInfo 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 |
---|---|
Nullable<Boolean> | true, if a nullable column is created, otherwise, false. |
Remarks
To change the IsNullable value, apply the NullableAttribute to the current member declaration. To change the IsNullable value for the entire persistent class, apply the NullableBehaviorAttribute. You can also change this setting globally, using the static XpoDefault.NullableBehavior property.