A newer version of this page is available. Switch to the current version.

NullableBehavior Enum

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

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v18.2.dll

Declaration

public enum NullableBehavior
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