共用方式為


RelationalQueryModelVisitor.OptimizeJoinClause 方法

定義

優化聯結子句。

protected virtual void OptimizeJoinClause (Remotion.Linq.Clauses.JoinClause joinClause, Remotion.Linq.QueryModel queryModel, int index, Action baseVisitAction, System.Reflection.MethodInfo operatorToFlatten, bool outerJoin = false);
protected virtual void OptimizeJoinClause (Remotion.Linq.Clauses.JoinClause joinClause, Remotion.Linq.QueryModel queryModel, int index, Action baseVisitAction, System.Reflection.MethodInfo operatorToFlatten, bool groupJoin = false);
abstract member OptimizeJoinClause : Remotion.Linq.Clauses.JoinClause * Remotion.Linq.QueryModel * int * Action * System.Reflection.MethodInfo * bool -> unit
override this.OptimizeJoinClause : Remotion.Linq.Clauses.JoinClause * Remotion.Linq.QueryModel * int * Action * System.Reflection.MethodInfo * bool -> unit
abstract member OptimizeJoinClause : Remotion.Linq.Clauses.JoinClause * Remotion.Linq.QueryModel * int * Action * System.Reflection.MethodInfo * bool -> unit
override this.OptimizeJoinClause : Remotion.Linq.Clauses.JoinClause * Remotion.Linq.QueryModel * int * Action * System.Reflection.MethodInfo * bool -> unit
Protected Overridable Sub OptimizeJoinClause (joinClause As JoinClause, queryModel As QueryModel, index As Integer, baseVisitAction As Action, operatorToFlatten As MethodInfo, Optional outerJoin As Boolean = false)
Protected Overridable Sub OptimizeJoinClause (joinClause As JoinClause, queryModel As QueryModel, index As Integer, baseVisitAction As Action, operatorToFlatten As MethodInfo, Optional groupJoin As Boolean = false)

參數

joinClause
Remotion.Linq.Clauses.JoinClause

要造訪的聯結子句。

queryModel
Remotion.Linq.QueryModel

查詢模型。

index
Int32

所流覽節點的索引。

baseVisitAction
Action

基底流覽動作。

operatorToFlatten
MethodInfo

要壓平合併的運算子。

outerJoingroupJoin
Boolean

如果應該執行外部聯結,則為 true。

適用於