Share via


DbContextOptions Constructors

Definition

Overloads

DbContextOptions()

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

DbContextOptions(IReadOnlyDictionary<Type,IDbContextOptionsExtension>)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

DbContextOptions(ImmutableSortedDictionary<Type,ValueTuple<IDbContextOptionsExtension,Int32>>)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

DbContextOptions()

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
protected DbContextOptions ();
Protected Sub New ()
Attributes

Applies to

DbContextOptions(IReadOnlyDictionary<Type,IDbContextOptionsExtension>)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

protected DbContextOptions (System.Collections.Generic.IReadOnlyDictionary<Type,Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptionsExtension> extensions);
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
protected DbContextOptions (System.Collections.Generic.IReadOnlyDictionary<Type,Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptionsExtension> extensions);
new Microsoft.EntityFrameworkCore.DbContextOptions : System.Collections.Generic.IReadOnlyDictionary<Type, Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptionsExtension> -> Microsoft.EntityFrameworkCore.DbContextOptions
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
new Microsoft.EntityFrameworkCore.DbContextOptions : System.Collections.Generic.IReadOnlyDictionary<Type, Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptionsExtension> -> Microsoft.EntityFrameworkCore.DbContextOptions
Protected Sub New (extensions As IReadOnlyDictionary(Of Type, IDbContextOptionsExtension))

Parameters

extensions
IReadOnlyDictionary<Type,IDbContextOptionsExtension>

The extensions that store the configured options.

Attributes

Applies to

DbContextOptions(ImmutableSortedDictionary<Type,ValueTuple<IDbContextOptionsExtension,Int32>>)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
protected DbContextOptions (System.Collections.Immutable.ImmutableSortedDictionary<Type,(Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptionsExtension Extension, int Ordinal)> extensions);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
new Microsoft.EntityFrameworkCore.DbContextOptions : System.Collections.Immutable.ImmutableSortedDictionary<Type, ValueTuple<Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptionsExtension, int>> -> Microsoft.EntityFrameworkCore.DbContextOptions
Protected Sub New (extensions As ImmutableSortedDictionary(Of Type, ValueTuple(Of IDbContextOptionsExtension, Integer)))

Parameters

Attributes

Applies to