private void CreateOrEditMasterTable(Game game, IStorage storage) { var db = CreateSQLLiteConnection.Create(MasterTableFile); db.CreateTable <MasterTable>(); MasterTable master = new MasterTable(); master.GameGuid = game.ID; master.Me = game.Me.ID; master.GameType = game.GameType; master.StorageType = storage.Type; db.Insert(master); storage.Accept(db); }