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.v24.2.dll

Declaration

public NullableBehavior NullableBehavior { get; }

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.

See Also