From 2edc77cd9b34c7b2c2e9dbac69a0845718793a85 Mon Sep 17 00:00:00 2001 From: BrennanConroy Date: Wed, 24 May 2017 11:23:02 -0700 Subject: [PATCH] React to EF API changes --- samples/ChatSample/Data/ApplicationDbContextFactory.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/ChatSample/Data/ApplicationDbContextFactory.cs b/samples/ChatSample/Data/ApplicationDbContextFactory.cs index 37780f7ae0..4b91568b3a 100644 --- a/samples/ChatSample/Data/ApplicationDbContextFactory.cs +++ b/samples/ChatSample/Data/ApplicationDbContextFactory.cs @@ -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 + public class ApplicationDbContextFactory : IDesignTimeDbContextFactory { public ApplicationDbContext Create(string[] args) {