.NET Framework 4.5.2+
.NET Framework 4.5.2+
.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.v19.2.dll

Declaration

public enum NullableBehavior
Public Enum NullableBehavior
public enum NullableBehavior
Public Enum NullableBehavior

Members

Name Description
AlwaysAllowNulls

A nullable column is always created.

ByUnderlyingType

A nullable column is created when the mapped property type is not a value type.

Default

The default mode. Has the same effect as AlwaysAllowNulls.

Remarks

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

See Also