Back to Devexpress

NullableBehavior Enum

xpo-devexpress-dot-xpo-12c11bb3.md

latest2.5 KB
Original Source

NullableBehavior Enum

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

Namespace : DevExpress.Xpo

Assembly : DevExpress.Xpo.v25.2.dll

NuGet Package : DevExpress.Xpo

Declaration

csharp
public enum NullableBehavior
vb
Public Enum NullableBehavior

Members

NameDescription
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.

|

The following properties accept/return NullableBehavior values:

The following properties accept/return NullableBehavior values:

Remarks

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

See Also

DevExpress.Xpo Namespace