Share via


RelationalParameterBasedSqlProcessor.ProcessSqlNullability Method

Definition

Overloads

Name Description
ProcessSqlNullability(Expression, ParametersCacheDecorator)

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)

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(Expression, ParametersCacheDecorator)

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, Microsoft.EntityFrameworkCore.Query.ParametersCacheDecorator Decorator);
abstract member ProcessSqlNullability : System.Linq.Expressions.Expression * Microsoft.EntityFrameworkCore.Query.ParametersCacheDecorator -> System.Linq.Expressions.Expression
override this.ProcessSqlNullability : System.Linq.Expressions.Expression * Microsoft.EntityFrameworkCore.Query.ParametersCacheDecorator -> System.Linq.Expressions.Expression
Protected Overridable Function ProcessSqlNullability (queryExpression As Expression, Decorator As ParametersCacheDecorator) As Expression

Parameters

queryExpression
Expression

A query expression to optimize.

Decorator
ParametersCacheDecorator

A decorator allowing access to parameters in a cache-safe way.

Returns

A processed query expression.

Applies to

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