XPDictionary.NullableBehavior Property
Specifies if nullable columns should be created when updating the database schema.
Namespace: DevExpress.Xpo.Metadata
Assembly: DevExpress.Xpo.v24.2.dll
Declaration
Property Value
Type | Description |
---|---|
NullableBehavior | A NullableBehavior enumeration value specifying if a nullable column should be created when updating the database schema. |
Remarks
The default NullableBehavior value is taken from the static XpoDefault.NullableBehavior property value.
The NullableBehavior value can be overridden for an individual persistent class of field using the:
- NullableAttribute attribute;
- NullableBehaviorAttribute attribute;
- XPClassInfo.NullableBehavior property.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the NullableBehavior property.
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.