Ejemplo n.º 1
0
Archivo: mainDal.cs Proyecto: 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();
        }
Ejemplo n.º 2
0
		private void attach_Votes(Vote entity)
		{
			this.SendPropertyChanging();
			entity.utilisateur = this;
		}
Ejemplo n.º 3
0
		private void detach_Votes(Vote entity)
		{
			this.SendPropertyChanging();
			entity.utilisateur = null;
		}
Ejemplo n.º 4
0
 partial void DeleteVote(Vote instance);
Ejemplo n.º 5
0
 partial void UpdateVote(Vote instance);
Ejemplo n.º 6
0
 partial void InsertVote(Vote instance);
Ejemplo n.º 7
0
		private void detach_Votes(Vote entity)
		{
			this.SendPropertyChanging();
			entity.Jeux = null;
		}
Ejemplo n.º 8
0
		private void attach_Votes(Vote entity)
		{
			this.SendPropertyChanging();
			entity.Jeux = this;
		}