共用方式為


CoreLoggerExtensions.InvalidIncludePathError 方法

定義

InvalidIncludePathError事件的記錄。

public static void InvalidIncludePathError (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Query> diagnostics, string navigationChain, string navigationName);
static member InvalidIncludePathError : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Query> * string * string -> unit
<Extension()>
Public Sub InvalidIncludePathError (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Query), navigationChain As String, navigationName As String)

參數

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Query>

要使用的診斷記錄器。

navigationChain
String

中所使用的導覽鏈結 Include<TEntity>(IQueryable<TEntity>, String)

navigationName
String

模型中找不到的導覽名稱。

適用於