Пример #1
0
        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;
		}