MigrationsSqlGeneratorDependencies.MigrationsLogger 属性

定义

数据库命令记录器。

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

属性值

适用于