React to EF API changes

This commit is contained in:
BrennanConroy 2017-05-24 11:23:02 -07:00
parent a322fea940
commit 2edc77cd9b
1 changed files with 2 additions and 2 deletions

View File

@ -3,12 +3,12 @@
using System.IO;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Design;
using Microsoft.Extensions.Configuration;
namespace ChatSample.Data
{
public class ApplicationDbContextFactory : IDbContextFactory<ApplicationDbContext>
public class ApplicationDbContextFactory : IDesignTimeDbContextFactory<ApplicationDbContext>
{
public ApplicationDbContext Create(string[] args)
{