Back to Devexpress

DataLayerOptions.NullableBehavior Property

xpo-microsoft-dot-extensions-dot-dependencyinjection-dot-datalayeroptions.md

latest1.9 KB
Original Source

DataLayerOptions.NullableBehavior Property

Namespace : Microsoft.Extensions.DependencyInjection

Assembly : DevExpress.Xpo.v25.2.dll

NuGet Package : DevExpress.Xpo

Declaration

csharp
public NullableBehavior NullableBehavior { get; set; }
vb
Public Property NullableBehavior As NullableBehavior

Property Value

Type
NullableBehavior

Available values:

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.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to NullableBehavior
DataLayerOptionsBuilder

.DataLayerOptions .NullableBehavior

|

See Also

XPO Extensions for ASP.NET Core Dependency Injection

DataLayerOptions Class

DataLayerOptions Members

Microsoft.Extensions.DependencyInjection Namespace