共用方式為


QueryCompilationContext.AddTrackableInclude 方法

定義

加入可追蹤的 Include。

public virtual void AddTrackableInclude (Remotion.Linq.Clauses.IQuerySource querySource, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.INavigation> navigationPath);
abstract member AddTrackableInclude : Remotion.Linq.Clauses.IQuerySource * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.INavigation> -> unit
override this.AddTrackableInclude : Remotion.Linq.Clauses.IQuerySource * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.INavigation> -> unit
Public Overridable Sub AddTrackableInclude (querySource As IQuerySource, navigationPath As IReadOnlyList(Of INavigation))

參數

querySource
Remotion.Linq.Clauses.IQuerySource

查詢來源。

navigationPath
IReadOnlyList<INavigation>

包含的流覽路徑。

適用於