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)

属性值

属性

适用于