Exemplo n.º 1
0
        public GenreLivre GetModel()
        {
            GenreLivre _result = new GenreLivre();
            _result.id = this.id;
            _result.nom = this.nom;

            return _result;
        }
Exemplo n.º 2
0
 public void UpdateGenreLivre(GenreLivre genreLivre)
 {
     context.Entry(genreLivre).State = EntityState.Modified;
 }
Exemplo n.º 3
0
 public GenreLivreBU(GenreLivre genreLivre)
 {
     this.id = genreLivre.id;
     this.nom = genreLivre.nom;
 }
Exemplo n.º 4
0
 public void InsertGenreLivre(GenreLivre genreLivre)
 {
     context.GenreLivre.Add(genreLivre);
 }