HistoryRepositoryDependencies.ModelLogger 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
现已弃用此 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)
属性值
- 属性