MigrationsSqlGeneratorDependencies.MigrationsLogger 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
数据库命令记录器。
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)