DbContextActivator Class
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.
Used to instantiate DbContext types at design time.
public static class DbContextActivator
type DbContextActivator = class
Public Class DbContextActivator
- Inheritance
-
DbContextActivator
Create |
Creates an instance of the specified DbContext type using the standard design-time mechanisms. When available, this will use any IDesignTimeDbContextFactory<TContext> implementations or the application's service provider. |
Create |
Creates an instance of the specified DbContext type using the standard design-time mechanisms. When available, this will use any IDesignTimeDbContextFactory<TContext> implementations or the application's service provider. |
Product | Versions |
---|---|
Entity Framework Core | 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |
Entity Framework feedback
Entity Framework is an open source project. Select a link to provide feedback: