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