語言

DbContext.IDbContextDependencies.InfrastructureLogger 屬性

定義

這是一個內部 API,支援 Entity Framework Core 基礎架構,且不受公開 API 相同的相容性標準約束。 該內容可能會在任何新聞稿中未經通知而更改或移除。 你應該只在程式碼中直接使用它,並且要非常謹慎,並且要知道這樣做可能會導致更新到新的 Entity Framework Core 版本時應用程式失敗。

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Infrastructure> Microsoft.EntityFrameworkCore.Internal.IDbContextDependencies.InfrastructureLogger { get; }
Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Infrastructure> Microsoft.EntityFrameworkCore.Internal.IDbContextDependencies.InfrastructureLogger { get; }
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
member this.Microsoft.EntityFrameworkCore.Internal.IDbContextDependencies.InfrastructureLogger : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Infrastructure>
member this.Microsoft.EntityFrameworkCore.Internal.IDbContextDependencies.InfrastructureLogger : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Infrastructure>
 ReadOnly Property InfrastructureLogger As IDiagnosticsLogger(Of DbLoggerCategory.Infrastructure) Implements IDbContextDependencies.InfrastructureLogger

屬性值

實作

Microsoft.EntityFrameworkCore.Internal.IDbContextDependencies.InfrastructureLogger
屬性

適用於