DbContextOptions(IReadOnlyDictionary<Type,IDbContextOptionsExtension>) Constructor

Definition

Initializes a new instance of the DbContextOptions class. You normally override OnConfiguring(DbContextOptionsBuilder) or use a DbContextOptionsBuilder to create instances of this class and it is not designed to be directly constructed in your application code.

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
Protected Sub New (extensions As IReadOnlyDictionary(Of Type, IDbContextOptionsExtension))

Parameters

extensions
IReadOnlyDictionary<Type,IDbContextOptionsExtension>

The extensions that store the configured options.

Applies to