예제 #1
0
 public void AddGameToCollection(GameCollectionUI gc)
 {
     using (var db = new GameCollectionDBContainer())
     {
         db.GameCollectionUIs.Add(gc);
         db.SaveChanges();
     }
 }
예제 #2
0
 public void VoegGameToe(Game nieuw)
 {
     using (var db = new GameCollectionDBContainer())
     {
         db.GameSet.Add(nieuw);
         db.SaveChanges();
     }
 }