共用方式為


HistoryRepositoryDependencies.ModelLogger 屬性

定義

警告

此 API 現已淘汰。

警告

This is contained in ModelDependencies now.

模型記錄器

public Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> ModelLogger { get; }
[System.Obsolete]
public Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> ModelLogger { get; }
[System.Obsolete("This is contained in ModelDependencies now.")]
public Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> ModelLogger { get; init; }
member this.ModelLogger : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model>
[<System.Obsolete>]
member this.ModelLogger : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model>
[<System.Obsolete("This is contained in ModelDependencies now.")>]
member this.ModelLogger : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> with get, set
Public ReadOnly Property ModelLogger As IDiagnosticsLogger(Of DbLoggerCategory.Model)
Public Property ModelLogger As IDiagnosticsLogger(Of DbLoggerCategory.Model)

屬性值

屬性

適用於