HistoryRepositoryDependencies.ModelLogger Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
This API is now deprecated.
Caution
This is contained in ModelDependencies now.
The model logger
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)
Property Value
- Attributes
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework