static void Main(string[] args) { DesignTimeDbContextFactory dbFactory = new DesignTimeDbContextFactory(); RoutingNumberImport import = WireUpRoutingNumberImport(); import.Import(); Console.ReadLine(); }
static RoutingNumberImport WireUpRoutingNumberImport() { DesignTimeDbContextFactory dbFactory = new DesignTimeDbContextFactory(); ConsoleLogger log = new ConsoleLogger(); RoutingNumberImport import = new RoutingNumberImport( new UnitOfWork(dbFactory.CreateDbContext(new string[] { }), log), log); return(import); }