共用方式為


ProviderConventionSetBuilderDependencies.Logger 屬性

定義

模型記錄器。

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

屬性值

適用於