public void InsertIntoHighScores(int idJoueur, int idJeux, int Score) { HighScore hs = new HighScore(); hs.idJoueur = idJoueur; hs.idJeux = idJeux; hs.Score = Score; DB.HighScores.InsertOnSubmit(hs); if (AutoCommit) DB.SubmitChanges(); }
private void detach_HighScores(HighScore entity) { this.SendPropertyChanging(); entity.utilisateur = null; }
partial void DeleteHighScore(HighScore instance);
partial void UpdateHighScore(HighScore instance);
partial void InsertHighScore(HighScore instance);
private void attach_HighScores(HighScore entity) { this.SendPropertyChanging(); entity.Jeux = this; }