Share via


RelationalParameterBasedSqlProcessor.ProcessSqlNullability Method

Definition

Overloads

ProcessSqlNullability(SelectExpression, IReadOnlyDictionary<String,Object>, Boolean)

Processes the SelectExpression based on nullability of nodes to apply null semantics in use and optimize it for given parameter values.

ProcessSqlNullability(Expression, IReadOnlyDictionary<String,Object>, Boolean)

Processes the query expression based on nullability of nodes to apply null semantics in use and optimize it for given parameter values.

ProcessSqlNullability(SelectExpression, IReadOnlyDictionary<String,Object>, Boolean)

Source:
RelationalParameterBasedSqlProcessor.cs
Source:
RelationalParameterBasedSqlProcessor.cs

Processes the SelectExpression based on nullability of nodes to apply null semantics in use and optimize it for given parameter values.

protected virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression ProcessSqlNullability (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression selectExpression, System.Collections.Generic.IReadOnlyDictionary<string,object> parametersValues, out bool canCache);
protected virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression ProcessSqlNullability (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression selectExpression, System.Collections.Generic.IReadOnlyDictionary<string,object?> parametersValues, out bool canCache);
abstract member ProcessSqlNullability : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression * System.Collections.Generic.IReadOnlyDictionary<string, obj> * bool -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression
override this.ProcessSqlNullability : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression * System.Collections.Generic.IReadOnlyDictionary<string, obj> * bool -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression
Protected Overridable Function ProcessSqlNullability (selectExpression As SelectExpression, parametersValues As IReadOnlyDictionary(Of String, Object), ByRef canCache As Boolean) As SelectExpression

Parameters

selectExpression
SelectExpression

A select expression to optimize.

parametersValues
IReadOnlyDictionary<String,Object>

A dictionary of parameter values to use.

canCache
Boolean

A bool value indicating if the select expression can be cached.

Returns

A processed select expression.

Applies to

ProcessSqlNullability(Expression, IReadOnlyDictionary<String,Object>, Boolean)

Source:
RelationalParameterBasedSqlProcessor.cs
Source:
RelationalParameterBasedSqlProcessor.cs
Source:
RelationalParameterBasedSqlProcessor.cs

Processes the query expression based on nullability of nodes to apply null semantics in use and optimize it for given parameter values.

protected virtual System.Linq.Expressions.Expression ProcessSqlNullability (System.Linq.Expressions.Expression queryExpression, System.Collections.Generic.IReadOnlyDictionary<string,object?> parametersValues, out bool canCache);
abstract member ProcessSqlNullability : System.Linq.Expressions.Expression * System.Collections.Generic.IReadOnlyDictionary<string, obj> * bool -> System.Linq.Expressions.Expression
override this.ProcessSqlNullability : System.Linq.Expressions.Expression * System.Collections.Generic.IReadOnlyDictionary<string, obj> * bool -> System.Linq.Expressions.Expression
Protected Overridable Function ProcessSqlNullability (queryExpression As Expression, parametersValues As IReadOnlyDictionary(Of String, Object), ByRef canCache As Boolean) As Expression

Parameters

queryExpression
Expression

A query expression to optimize.

parametersValues
IReadOnlyDictionary<String,Object>

A dictionary of parameter values to use.

canCache
Boolean

A bool value indicating if the query expression can be cached.

Returns

A processed query expression.

Applies to