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

属性值

适用于