共用方式為


RelationalQueryContext.CommandLogger 屬性

定義

執行查詢時要使用的命令記錄器。

public virtual Microsoft.EntityFrameworkCore.Diagnostics.IRelationalCommandDiagnosticsLogger CommandLogger { get; }
member this.CommandLogger : Microsoft.EntityFrameworkCore.Diagnostics.IRelationalCommandDiagnosticsLogger
Public Overridable ReadOnly Property CommandLogger As IRelationalCommandDiagnosticsLogger

屬性值

適用於