Ejemplo n.º 1
0
        public static List<ClsBOExemp> SelectExempByISBN(String ISBN)
        {
            List<ClsBOExemp> lstResult;

            using (var dal = new ClsDALExemp(CUtil.GetConnexion()))
                lstResult = dal.SelectExempByISBN(ISBN).ToList();
            return lstResult;
        }
Ejemplo n.º 2
0
        public static List<ClsBOExemp> SelectExempByISBNAndBiblioID(String ISBN, Int32 Biblio_ID)
        {
            List<ClsBOExemp> lstResult;

            using (var dal = new ClsDALExemp(CUtil.GetConnexion()))
                lstResult = dal.SelectExempByISBNAndBiblioID(ISBN, Biblio_ID).ToList();
            return lstResult;
        }
Ejemplo n.º 3
0
        public static List<ClsBOExemp> SelectExempByEtat(Int32 Etat_ID)
        {
            List<ClsBOExemp> lstResult;

            using (var dal = new ClsDALExemp(CUtil.GetConnexion()))
                lstResult = dal.SelectExempByEtat(Etat_ID).ToList();
            return lstResult;
        }
Ejemplo n.º 4
0
        public static List<ClsBOExemp> SelectExempByBiblioID(Int32 Bibliotheque_ID)
        {
            List<ClsBOExemp> lstResult;

            using (var dal = new ClsDALExemp(CUtil.GetConnexion()))
                lstResult = dal.SelectExempByBiblioID(Bibliotheque_ID).ToList();
            return lstResult;
        }
Ejemplo n.º 5
0
        public static List<ClsBOExemp> SelectAllExemp()
        {
            List<ClsBOExemp> lstResult;

            using (var dal = new ClsDALExemp(CUtil.GetConnexion()))
                lstResult = dal.SelectAllExemp().ToList();
            return lstResult;
        }
Ejemplo n.º 6
0
        public static ClsBOExemp SelectEtatByExempID(Int32 Exemp_ID)
        {
            ClsBOExemp objRetour = null;
            List<ClsBOExemp> lstRetour;

            using (var dal = new ClsDALExemp(CUtil.GetConnexion()))
                lstRetour = dal.AddExemplaire(Exemp_ID).ToList();

            if (lstRetour.Count > 0)
                objRetour = lstRetour[0];
            return objRetour;
        }
Ejemplo n.º 7
0
        public static ClsBOExemp AddExemplaire(String ISBN, Int32 Biblio_ID)
        {
            ClsBOExemp objRetour = null;
            List<ClsBOExemp> lstRetour;

            using (var dal = new ClsDALExemp(CUtil.GetConnexion()))
                lstRetour = dal.AddExemplaire(ISBN, Biblio_ID).ToList();

            if (lstRetour.Count > 0)
                objRetour = lstRetour[0];
            return objRetour;
        }