Esempio n. 1
0
 public static List <FamilleArticle> Liste_(String query)
 {
     try
     {
         return(FamilleArticleDao.getListFamilleArticle_(query));
     }
     catch (Exception ex)
     {
         throw new Exception("Impossible de retourner la liste des élements", ex);
     }
 }
Esempio n. 2
0
 public static bool Delete(long id)
 {
     try
     {
         return(FamilleArticleDao.getDeleteFamilleArticle(id));
     }
     catch (Exception ex)
     {
         throw new Exception("Impossible de supprimer cette enregistrement", ex);
     }
 }
Esempio n. 3
0
 public FamilleArticle Insert()
 {
     try
     {
         return(FamilleArticleDao.getAjoutFamilleArticle(famille));
     }
     catch (Exception ex)
     {
         throw new Exception("Impossible d'inserer cette enregistrement", ex);
     }
 }
Esempio n. 4
0
 public bool Update()
 {
     try
     {
         return(FamilleArticleDao.getUpdateFamilleArticle(famille));
     }
     catch (Exception ex)
     {
         throw new Exception("Impossible de modifier cette enregistrement", ex);
     }
 }
Esempio n. 5
0
 public static FamilleArticle One_(long id)
 {
     try
     {
         return(FamilleArticleDao.getOneFamilleArticle_(id));
     }
     catch (Exception ex)
     {
         throw new Exception("Impossible d'atteindre l'enregistrement", ex);
     }
 }