NullableBehavior Enum
Contains values specifying if a nullable column should be created when updating the database schema.
Namespace: DevExpress.Xpo
Assembly: DevExpress.Xpo.v21.1.dll
Declaration
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
The following properties accept/return NullableBehavior values:
Remarks
These numeration values are passed to the NullableBehaviorAttribute attribute and to the following properties:
Related GitHub Examples
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.