共用方式為


RelationalQueryTranslationPostprocessor.Prune(Expression) Method

Definition

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