다음을 통해 공유


RelationalQueryTranslationPostprocessor.OptimizeSqlExpression 메서드

정의

주의

Use 'Optimize' method on RelationalParameterBasedSqlProcessor instead. If you have a case for optimizations to be performed here, please file an issue on github.com/dotnet/efcore.

SQL 식을 최적화합니다.

protected virtual System.Linq.Expressions.Expression OptimizeSqlExpression (System.Linq.Expressions.Expression query);
[System.Obsolete("Use 'Optimize' method on RelationalParameterBasedSqlProcessor instead. If you have a case for optimizations to be performed here, please file an issue on github.com/dotnet/efcore.")]
protected virtual System.Linq.Expressions.Expression OptimizeSqlExpression (System.Linq.Expressions.Expression query);
abstract member OptimizeSqlExpression : System.Linq.Expressions.Expression -> System.Linq.Expressions.Expression
override this.OptimizeSqlExpression : System.Linq.Expressions.Expression -> System.Linq.Expressions.Expression
[<System.Obsolete("Use 'Optimize' method on RelationalParameterBasedSqlProcessor instead. If you have a case for optimizations to be performed here, please file an issue on github.com/dotnet/efcore.")>]
abstract member OptimizeSqlExpression : System.Linq.Expressions.Expression -> System.Linq.Expressions.Expression
override this.OptimizeSqlExpression : System.Linq.Expressions.Expression -> System.Linq.Expressions.Expression
Protected Overridable Function OptimizeSqlExpression (query As Expression) As Expression

매개 변수

query
Expression

최적화할 식입니다.

반환

SQL이 최적화된 식입니다.

특성

적용 대상