Class DataContextDataContextFactory
public class DataContextDataContextFactory : IDesignTimeDbContextFactory<DataContext>
- Inheritance
-
DataContextDataContextFactory
- Implements
- Inherited Members
- Extension Methods
Methods
CreateDbContext(string[])
Creates a new instance of a derived context.
public DataContext CreateDbContext(string[] args)
Parameters
args
string[]Arguments provided by the design-time service.
Returns
- DataContext
An instance of DataContext.