示例#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);
     }
 }
示例#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);
     }
 }
示例#3
0
 public FamilleArticle Insert()
 {
     try
     {
         return(FamilleArticleDao.getAjoutFamilleArticle(famille));
     }
     catch (Exception ex)
     {
         throw new Exception("Impossible d'inserer cette enregistrement", ex);
     }
 }
示例#4
0
 public bool Update()
 {
     try
     {
         return(FamilleArticleDao.getUpdateFamilleArticle(famille));
     }
     catch (Exception ex)
     {
         throw new Exception("Impossible de modifier cette enregistrement", ex);
     }
 }
示例#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);
     }
 }