Show / Hide Table of Contents

Class EfFactory

Inheritance
object
EfFactory
Implements
IDesignTimeDbContextFactory<ApplicationDbContext>
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: NotifyHub.NotificationService.Persistence.Contexts
Assembly: NotifyHub.NotificationService.Persistence.dll
Syntax
public class EfFactory : IDesignTimeDbContextFactory<ApplicationDbContext>

Methods

| Edit this page View Source

CreateDbContext(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.

Implements

IDesignTimeDbContextFactory<TContext>
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX