예제 #1
0
파일: mainDal.cs 프로젝트: T4g1/3eme
        public void InsertIntoVotes(int idJoueur, int idJeux, int cote) {
            Vote vote = new Vote();
            vote.idjoueur = idJoueur;
            vote.idjeu = idJeux;
            vote.cote = cote;

            DB.Votes.InsertOnSubmit(vote);
            if (AutoCommit)
                DB.SubmitChanges();
        }
예제 #2
0
		private void attach_Votes(Vote entity)
		{
			this.SendPropertyChanging();
			entity.utilisateur = this;
		}
예제 #3
0
		private void detach_Votes(Vote entity)
		{
			this.SendPropertyChanging();
			entity.utilisateur = null;
		}
예제 #4
0
 partial void DeleteVote(Vote instance);
예제 #5
0
 partial void UpdateVote(Vote instance);
예제 #6
0
 partial void InsertVote(Vote instance);
예제 #7
0
		private void detach_Votes(Vote entity)
		{
			this.SendPropertyChanging();
			entity.Jeux = null;
		}
예제 #8
0
		private void attach_Votes(Vote entity)
		{
			this.SendPropertyChanging();
			entity.Jeux = this;
		}