From 3e7db7467e7e3feb580576c66f758a6fa75f6e4f Mon Sep 17 00:00:00 2001 From: "Collin M. Barrett" Date: Mon, 13 May 2019 10:47:37 -0500 Subject: [PATCH] rm unused file --- .../FilterListsDesignTimeDbContextFactory.cs | 32 ------------------- 1 file changed, 32 deletions(-) delete mode 100644 src/FilterLists.Data/FilterListsDesignTimeDbContextFactory.cs diff --git a/src/FilterLists.Data/FilterListsDesignTimeDbContextFactory.cs b/src/FilterLists.Data/FilterListsDesignTimeDbContextFactory.cs deleted file mode 100644 index ee34cb2dd..000000000 --- a/src/FilterLists.Data/FilterListsDesignTimeDbContextFactory.cs +++ /dev/null @@ -1,32 +0,0 @@ -using System; -using JetBrains.Annotations; -using Microsoft.EntityFrameworkCore; -using Microsoft.EntityFrameworkCore.Design; - -namespace FilterLists.Data -{ - //TODO: [BLOCKED] pass connection string https://github.com/aspnet/EntityFrameworkCore/issues/8332 - //[UsedImplicitly] - //public class FilterListsDesignTimeDbContextFactory : IDesignTimeDbContextFactory - //{ - // private readonly int commandTimeoutSecs = (int)TimeSpan.FromMinutes(30).TotalSeconds; - - // /// - // /// increases command timeout for design time migrations - // /// - // public FilterListsDbContext CreateDbContext(string[] args) - // { - // var optionsBuilder = new DbContextOptionsBuilder(); - // optionsBuilder.UseMySql( - // @"", - // o => - // { - // o.MigrationsAssembly("FilterLists.Api"); - // o.CommandTimeout(commandTimeoutSecs); - // } - // ); - - // return new FilterListsDbContext(optionsBuilder.Options); - // } - //} -} \ No newline at end of file