DbContextActivator Class
Definition
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
Methods
CreateInstance(Type, Assembly, IOperationReportHandler, String[]) |
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. |
CreateInstance(Type, Assembly, IOperationReportHandler) |
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. |
Applies to
Entity Framework