Skip to main content
.NET Framework 4.5.2+

NullableBehavior Enum

Contains values specifying if a nullable column should be created when updating the database schema.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v24.1.dll

NuGet Package: DevExpress.Xpo

Declaration

public enum NullableBehavior

Members

Name Description
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.

Related API Members

Remarks

These numeration values are passed to the NullableBehaviorAttribute attribute and to the following properties:

See Also