RelationalQueryRootProcessor.ShouldConvertToParameterQueryRoot 方法

定义

指示ParameterExpression可以转换为 ParameterQueryRootExpression;后者最终TranslatePrimitiveCollection(SqlExpression, IProperty, String)将转换为提供程序特定的 SQL 扩展机制,例如OPENJSON,在 SQL Server。

protected override bool ShouldConvertToParameterQueryRoot (System.Linq.Expressions.ParameterExpression constantExpression);
protected override bool ShouldConvertToParameterQueryRoot (System.Linq.Expressions.ParameterExpression parameterExpression);
override this.ShouldConvertToParameterQueryRoot : System.Linq.Expressions.ParameterExpression -> bool
override this.ShouldConvertToParameterQueryRoot : System.Linq.Expressions.ParameterExpression -> bool
Protected Overrides Function ShouldConvertToParameterQueryRoot (constantExpression As ParameterExpression) As Boolean
Protected Overrides Function ShouldConvertToParameterQueryRoot (parameterExpression As ParameterExpression) As Boolean

参数

constantExpressionparameterExpression
ParameterExpression

返回

适用于