RelationalDbContextOptionsBuilder<TBuilder,TExtension>.UseRelationalNulls Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The same builder instance so that multiple calls can be chained.
Remarks
See Relational database null semantics for more information and examples.
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
The same builder instance so that multiple calls can be chained.
Applies to
Entity Framework