Skip to main content

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.v23.1.dll

NuGet Package: DevExpress.Xpo


public NullableBehavior NullableBehavior { get; }

Property Value

Type Description

A NullableBehavior enumeration value specifying if a nullable column should be created when updating the database schema.


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.

See Also