Share via


RelationalParameterBasedSqlProcessor.ExpandFromSqlParameter Method

Definition

Overloads

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

Expands the parameters to FromSqlExpression inside the SelectExpression for given parameter values.

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

Expands the parameters to FromSqlExpression inside the query expression for given parameter values.

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

Source:
RelationalParameterBasedSqlProcessor.cs
Source:
RelationalParameterBasedSqlProcessor.cs

Expands the parameters to FromSqlExpression inside the SelectExpression for given parameter values.

protected virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression ExpandFromSqlParameter (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression selectExpression, System.Collections.Generic.IReadOnlyDictionary<string,object> parametersValues, out bool canCache);
protected virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression ExpandFromSqlParameter (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression selectExpression, System.Collections.Generic.IReadOnlyDictionary<string,object?> parametersValues, out bool canCache);
abstract member ExpandFromSqlParameter : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression * System.Collections.Generic.IReadOnlyDictionary<string, obj> * bool -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression
override this.ExpandFromSqlParameter : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression * System.Collections.Generic.IReadOnlyDictionary<string, obj> * bool -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression
Protected Overridable Function ExpandFromSqlParameter (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

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

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

Expands the parameters to FromSqlExpression inside the query expression for given parameter values.

protected virtual System.Linq.Expressions.Expression ExpandFromSqlParameter (System.Linq.Expressions.Expression queryExpression, System.Collections.Generic.IReadOnlyDictionary<string,object?> parametersValues, out bool canCache);
abstract member ExpandFromSqlParameter : System.Linq.Expressions.Expression * System.Collections.Generic.IReadOnlyDictionary<string, obj> * bool -> System.Linq.Expressions.Expression
override this.ExpandFromSqlParameter : System.Linq.Expressions.Expression * System.Collections.Generic.IReadOnlyDictionary<string, obj> * bool -> System.Linq.Expressions.Expression
Protected Overridable Function ExpandFromSqlParameter (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