//-------------------------------------------------------------- public void remove(int cod) // pour supprimer un article { Console.WriteLine("le client supprime le tuple dont le code est:" + cod.ToString()); var t = new ProceedingC(); t.remove(cod, new articleBD()); }
//-------------------------------------------------------------- public void insert(article p)// pour ajouter un nouveau article { var t = new ProceedingC(); t.creerArticle(p.Codearticle, p.Titrearticle, p.Typearticle, p.FraisSoumission, p.NombrePage); t.insert(new articleBD()); }
//-------------------------------------------------------------- void getAllCatalogue1() { L = new List <article>(); var t = new ProceedingC(); L = t.getAllCatalogue(new articleBD()); }
//-------------------------------------------------------------- public article lookup(int p)// pour rechercher un ou plusieurs articles. { article arti = new article(); var t = new ProceedingC(); arti = t.lookup(p, new articleBD()); return(arti); }
//-------------------------------------------------------------- public void update(article p, int rang)// pour mettre à jour un article particulier { var t = new ProceedingC(); t.update(p, new articleBD(), rang); }