語言

RelationalDatabaseCreatorDependencies.CommandLogger 屬性

定義

拿到指令記錄器。

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

屬性值

適用於