語言

DbContextOptions.ExtensionsMap 屬性

定義

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

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
[System.Runtime.CompilerServices.Nullable(new System.Byte[] { 1, 1, 0, 1 })]
[System.Runtime.CompilerServices.TupleElementNames(new System.String[] { "Extension", "Ordinal" })]
protected virtual System.Collections.Immutable.ImmutableSortedDictionary<Type,(Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptionsExtension Extension, int Ordinal)> ExtensionsMap { get; }
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
[System.Runtime.CompilerServices.TupleElementNames(new System.String[] { "Extension", "Ordinal" })]
protected virtual System.Collections.Immutable.ImmutableSortedDictionary<Type,(Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptionsExtension Extension, int Ordinal)> ExtensionsMap { get; }
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
[<System.Runtime.CompilerServices.Nullable(new System.Byte[] { 1, 1, 0, 1 })>]
[<System.Runtime.CompilerServices.TupleElementNames(new System.String[] { "Extension", "Ordinal" })>]
member this.ExtensionsMap : System.Collections.Immutable.ImmutableSortedDictionary<Type, ValueTuple<Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptionsExtension, int>>
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
[<System.Runtime.CompilerServices.TupleElementNames(new System.String[] { "Extension", "Ordinal" })>]
member this.ExtensionsMap : System.Collections.Immutable.ImmutableSortedDictionary<Type, ValueTuple<Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptionsExtension, int>>
Protected Overridable ReadOnly Property ExtensionsMap As ImmutableSortedDictionary(Of Type, ValueTuple(Of IDbContextOptionsExtension, Integer))

屬性值

屬性

適用於