RelationalDbContextOptionsBuilder<TBuilder,TExtension>.UseRelationalNulls Method

Definition

Overloads

UseRelationalNulls(Boolean)

Configures the context to use relational database semantics when comparing null values. By default, Entity Framework will use C# semantics for null values, and generate SQL to compensate for differences in how the database handles nulls.

UseRelationalNulls()

Configures the context to use relational database semantics when comparing null values. By default, Entity Framework will use C# semantics for null values, and generate SQL to compensate for differences in how the database handles nulls.

UseRelationalNulls(Boolean)

Configures the context to use relational database semantics when comparing null values. By default, Entity Framework will use C# semantics for null values, and generate SQL to compensate for differences in how the database handles nulls.

public virtual TBuilder UseRelationalNulls (bool useRelationalNulls = true);
abstract member UseRelationalNulls : bool -> 'Builder
override this.UseRelationalNulls : bool -> 'Builder
Public Overridable Function UseRelationalNulls (Optional useRelationalNulls As Boolean = true) As TBuilder

Parameters

useRelationalNulls
Boolean

Returns

TBuilder

The same builder instance so that multiple calls can be chained.

Applies to

UseRelationalNulls()

Configures the context to use relational database semantics when comparing null values. By default, Entity Framework will use C# semantics for null values, and generate SQL to compensate for differences in how the database handles nulls.

public virtual TBuilder UseRelationalNulls ();
abstract member UseRelationalNulls : unit -> 'Builder
override this.UseRelationalNulls : unit -> 'Builder
Public Overridable Function UseRelationalNulls () As TBuilder

Returns

TBuilder

The same builder instance so that multiple calls can be chained.

Applies to