语言

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))

属性值

特性

适用于