共用方式為


RelationalDatabaseCreatorDependencies.CommandLogger 屬性

定義

取得命令記錄器。

public Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Database.Command> CommandLogger { get; }
public Microsoft.EntityFrameworkCore.Diagnostics.IRelationalCommandDiagnosticsLogger CommandLogger { get; init; }
member this.CommandLogger : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Database.Command>
member this.CommandLogger : Microsoft.EntityFrameworkCore.Diagnostics.IRelationalCommandDiagnosticsLogger with get, set
Public ReadOnly Property CommandLogger As IDiagnosticsLogger(Of DbLoggerCategory.Database.Command)
Public Property CommandLogger As IRelationalCommandDiagnosticsLogger

屬性值

適用於