예제 #1
0
 public static void SaveScore(Database.HighScore hs)
 {
     using (var context = new Database.ALTPContext(ConnectionString))
     {
         context.HighScores.InsertOnSubmit(hs);
         context.SubmitChanges();
     }
 }
예제 #2
0
 partial void UpdateHighScore(HighScore instance);
예제 #3
0
 partial void DeleteHighScore(HighScore instance);
예제 #4
0
 partial void InsertHighScore(HighScore instance);