DbContextOptions<TContext> Constructors
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
DbContextOptions<TContext>() |
Initializes a new instance of the DbContextOptions<TContext> class. You normally override OnConfiguring(DbContextOptionsBuilder) or use a DbContextOptionsBuilder<TContext> to create instances of this class and it is not designed to be directly constructed in your application code. |
DbContextOptions<TContext>(IReadOnlyDictionary<Type,IDbContextOptionsExtension>) |
Initializes a new instance of the DbContextOptions<TContext> class. You normally override OnConfiguring(DbContextOptionsBuilder) or use a DbContextOptionsBuilder<TContext> to create instances of this class and it is not designed to be directly constructed in your application code. |
- Source:
- DbContextOptions%60.cs
- Source:
- DbContextOptions%60.cs
- Source:
- DbContextOptions%60.cs
- Source:
- DbContextOptions%60.cs
- Source:
- DbContextOptions%60.cs
- Source:
- DbContextOptions%60.cs
- Source:
- DbContextOptions%60.cs
- Source:
- DbContextOptions%60.cs
- Source:
- DbContextOptions%60.cs
Initializes a new instance of the DbContextOptions<TContext> class. You normally override OnConfiguring(DbContextOptionsBuilder) or use a DbContextOptionsBuilder<TContext> to create instances of this class and it is not designed to be directly constructed in your application code.
public DbContextOptions ();
Public Sub New ()
Applies to
Entity Framework Core 9.0 ja muud versioonid
Toode | Versioonid |
---|---|
Entity Framework Core | 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |
- Source:
- DbContextOptions%60.cs
- Source:
- DbContextOptions%60.cs
- Source:
- DbContextOptions%60.cs
- Source:
- DbContextOptions%60.cs
- Source:
- DbContextOptions%60.cs
- Source:
- DbContextOptions%60.cs
- Source:
- DbContextOptions%60.cs
- Source:
- DbContextOptions%60.cs
- Source:
- DbContextOptions%60.cs
Initializes a new instance of the DbContextOptions<TContext> class. You normally override OnConfiguring(DbContextOptionsBuilder) or use a DbContextOptionsBuilder<TContext> to create instances of this class and it is not designed to be directly constructed in your application code.
public DbContextOptions (System.Collections.Generic.IReadOnlyDictionary<Type,Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptionsExtension> extensions);
new Microsoft.EntityFrameworkCore.DbContextOptions<'Context (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> : System.Collections.Generic.IReadOnlyDictionary<Type, Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptionsExtension> -> Microsoft.EntityFrameworkCore.DbContextOptions<'Context (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)>
Public Sub New (extensions As IReadOnlyDictionary(Of Type, IDbContextOptionsExtension))
Parameters
- extensions
- IReadOnlyDictionary<Type,IDbContextOptionsExtension>
The extensions that store the configured options.
Applies to
Entity Framework Core 9.0 ja muud versioonid
Toode | Versioonid |
---|---|
Entity Framework Core | 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |
Toote „Entity Framework“ tagasiside
Entity Framework on avatud lähtekoodiga projekt. Tagasiside andmiseks valige link: