共用方式為


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)

屬性值

適用於