RelationalQueryTranslationPostprocessor.Prune(Expression) Method
Definition
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.
Prunes unnecessary objects from the SQL tree, e.g. tables which aren't referenced by any column. Can be overridden by providers for provider-specific pruning.
protected virtual System.Linq.Expressions.Expression Prune (System.Linq.Expressions.Expression query);
abstract member Prune : System.Linq.Expressions.Expression -> System.Linq.Expressions.Expression
override this.Prune : System.Linq.Expressions.Expression -> System.Linq.Expressions.Expression
Protected Overridable Function Prune (query As Expression) As Expression
Parameters
- query
- Expression
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework