Skip to main content
.NET Standard 2.0+

NullableBehavior Enum

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

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v22.1.dll

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.

Remarks

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

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the NullableBehavior enum.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also