共用方式為


QueryCompilationContext.Logger 屬性

定義

要在查詢編譯期間使用的查詢記錄器。

public virtual Microsoft.Extensions.Logging.ILogger Logger { get; }
public virtual Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Query> Logger { get; }
member this.Logger : Microsoft.Extensions.Logging.ILogger
member this.Logger : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Query>
Public Overridable ReadOnly Property Logger As ILogger
Public Overridable ReadOnly Property Logger As IDiagnosticsLogger(Of DbLoggerCategory.Query)

屬性值

登入程式。

適用於