コード例 #1
0
ファイル: mainDal.cs プロジェクト: T4g1/3eme
        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();
        }
コード例 #2
0
ファイル: DbGames.designer.cs プロジェクト: T4g1/3eme
		private void detach_HighScores(HighScore entity)
		{
			this.SendPropertyChanging();
			entity.utilisateur = null;
		}
コード例 #3
0
ファイル: DbGames.designer.cs プロジェクト: T4g1/3eme
 partial void DeleteHighScore(HighScore instance);
コード例 #4
0
ファイル: DbGames.designer.cs プロジェクト: T4g1/3eme
 partial void UpdateHighScore(HighScore instance);
コード例 #5
0
ファイル: DbGames.designer.cs プロジェクト: T4g1/3eme
 partial void InsertHighScore(HighScore instance);
コード例 #6
0
ファイル: DbGames.designer.cs プロジェクト: T4g1/3eme
		private void attach_HighScores(HighScore entity)
		{
			this.SendPropertyChanging();
			entity.Jeux = this;
		}