RelationalQueryTranslationPostprocessor.OptimizeSqlExpression Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
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.
Optimizes the SQL expression.
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
An expression to optimize.
An expression which has SQL optimized.
- Attributes
Toode | Versioonid (aegunud) |
---|---|
Entity Framework Core | 3.0, 3.1 (5.0, 6.0) |
Toote „Entity Framework“ tagasiside
Entity Framework on avatud lähtekoodiga projekt. Tagasiside andmiseks valige link: