Back to Devexpress

XpoDefault.NullableBehavior Property

xpo-devexpress-dot-xpo-dot-xpodefault-28ec5374.md

latest2.0 KB
Original Source

XpoDefault.NullableBehavior Property

Specifies if nullable columns should be created when updating the database schema.

Namespace : DevExpress.Xpo

Assembly : DevExpress.Xpo.v25.2.dll

NuGet Package : DevExpress.Xpo

Declaration

csharp
public static NullableBehavior NullableBehavior { get; set; }
vb
Public Shared Property NullableBehavior As NullableBehavior

Property Value

TypeDescription
NullableBehavior

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

|

Available values:

NameDescription
Default

The default mode. Has the same effect as AlwaysAllowNulls.

| | AlwaysAllowNulls |

A nullable column is always created.

| | ByUnderlyingType |

A nullable column is created when the mapped property type is not a value type.

|

Remarks

This global setting can be overridden for an individual persistent class of a field using the:

See Also

XpoDefault Class

XpoDefault Members

DevExpress.Xpo Namespace