General code refactor and reformat.

This commit is contained in:
2018-12-31 13:17:27 +00:00
parent 6b12cd1a8e
commit f2caa8c40f
413 changed files with 3554 additions and 6549 deletions

View File

@@ -31,14 +31,12 @@
// ****************************************************************************/
using System;
using System.Data.Entity.Migrations;
using System.Reflection;
using System.Threading.Tasks;
using CommandLine;
using DiscImageChef.Commands;
using DiscImageChef.Console;
using DiscImageChef.Database;
using DiscImageChef.Database.Migrations;
using DiscImageChef.Gui.Forms;
using DiscImageChef.Settings;
using Eto;
@@ -57,7 +55,7 @@ namespace DiscImageChef
DicConsole.WriteEvent += System.Console.Write;
DicConsole.ErrorWriteLineEvent += System.Console.Error.WriteLine;
var ctx = new DicContext();
DicContext ctx = new DicContext();
ctx.Database.Migrate();
ctx.SaveChanges();