Class EfFactory
Implements
Inherited Members
Namespace: NotifyHub.NotificationService.Persistence.Contexts
Assembly: NotifyHub.NotificationService.Persistence.dll
Syntax
public class EfFactory : IDesignTimeDbContextFactory<ApplicationDbContext>
Methods
| Edit this page View SourceCreateDbContext(string[])
Creates a new instance of a derived context.
Declaration
public ApplicationDbContext CreateDbContext(string[] args)
Parameters
Type | Name | Description |
---|---|---|
string[] | args | Arguments provided by the design-time service. |
Returns
Type | Description |
---|---|
ApplicationDbContext | An instance of ApplicationDbContext. |