语言

RelationalParameterBasedSqlProcessor.Process 方法

定义

重载

名称 说明
Process(Expression, ParametersCacheDecorator)

执行将参数值考虑在内的最终查询处理。

Process(Expression, Dictionary<String,Object>, Boolean)

这是一个内部 API,支持Entity Framework Core基础结构,不受与公共 API 相同的兼容性标准的约束。 可以在任何版本中更改或删除它,而不通知。 只需在代码中直接使用它,并非常谨慎地知道这样做可能会导致应用程序在更新到新的Entity Framework Core版本时失败。

Process(Expression, ParametersCacheDecorator)

Source:
RelationalParameterBasedSqlProcessor.cs
Source:
RelationalParameterBasedSqlProcessor.cs

执行将参数值考虑在内的最终查询处理。

public virtual System.Linq.Expressions.Expression Process(System.Linq.Expressions.Expression queryExpression, Microsoft.EntityFrameworkCore.Query.ParametersCacheDecorator parametersDecorator);
abstract member Process : System.Linq.Expressions.Expression * Microsoft.EntityFrameworkCore.Query.ParametersCacheDecorator -> System.Linq.Expressions.Expression
override this.Process : System.Linq.Expressions.Expression * Microsoft.EntityFrameworkCore.Query.ParametersCacheDecorator -> System.Linq.Expressions.Expression
Public Overridable Function Process (queryExpression As Expression, parametersDecorator As ParametersCacheDecorator) As Expression

参数

queryExpression
Expression

要处理的查询表达式。

parametersDecorator
ParametersCacheDecorator

一种修饰器,允许以缓存安全的方式访问参数。

返回

适用于

Process(Expression, Dictionary<String,Object>, Boolean)

Source:
RelationalParameterBasedSqlProcessor.cs
Source:
RelationalParameterBasedSqlProcessor.cs

这是一个内部 API,支持Entity Framework Core基础结构,不受与公共 API 相同的兼容性标准的约束。 可以在任何版本中更改或删除它,而不通知。 只需在代码中直接使用它,并非常谨慎地知道这样做可能会导致应用程序在更新到新的Entity Framework Core版本时失败。

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public virtual System.Linq.Expressions.Expression Process(System.Linq.Expressions.Expression queryExpression, System.Collections.Generic.Dictionary<string,object?> parameters, out bool canCache);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
abstract member Process : System.Linq.Expressions.Expression * System.Collections.Generic.Dictionary<string, obj> * bool -> System.Linq.Expressions.Expression
override this.Process : System.Linq.Expressions.Expression * System.Collections.Generic.Dictionary<string, obj> * bool -> System.Linq.Expressions.Expression
Public Overridable Function Process (queryExpression As Expression, parameters As Dictionary(Of String, Object), ByRef canCache As Boolean) As Expression

参数

queryExpression
Expression
parameters
Dictionary<String,Object>
canCache
Boolean

返回

特性

适用于