public void AddGame(VideoGame videoGame)
 {
     using (var context = new VideoGamesDataContext(_connectionString))
     {
         context.VideoGames.InsertOnSubmit(videoGame);
         context.SubmitChanges();
     }
 }
 public void UpdateGame(VideoGame videoGame)
 {
     using (var context = new VideoGamesDataContext(_connectionString))
     {
         context.VideoGames.Attach(videoGame);
         context.Refresh(RefreshMode.KeepCurrentValues, videoGame);
         context.SubmitChanges();
     }
 }