コード例 #1
0
ファイル: ClsBLExemp.cs プロジェクト: al-main/BookLibrary-2
        public static List<ClsBOExemp> SelectExempByISBN(String ISBN)
        {
            List<ClsBOExemp> lstResult;

            using (var dal = new ClsDALExemp(CUtil.GetConnexion()))
                lstResult = dal.SelectExempByISBN(ISBN).ToList();
            return lstResult;
        }
コード例 #2
0
ファイル: ClsBLExemp.cs プロジェクト: al-main/BookLibrary-2
        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;
        }
コード例 #3
0
ファイル: ClsBLExemp.cs プロジェクト: al-main/BookLibrary-2
        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;
        }
コード例 #4
0
ファイル: ClsBLExemp.cs プロジェクト: al-main/BookLibrary-2
        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;
        }
コード例 #5
0
ファイル: ClsBLExemp.cs プロジェクト: al-main/BookLibrary-2
        public static List<ClsBOExemp> SelectAllExemp()
        {
            List<ClsBOExemp> lstResult;

            using (var dal = new ClsDALExemp(CUtil.GetConnexion()))
                lstResult = dal.SelectAllExemp().ToList();
            return lstResult;
        }
コード例 #6
0
ファイル: ClsBLExemp.cs プロジェクト: al-main/BookLibrary-2
        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;
        }
コード例 #7
0
ファイル: ClsBLExemp.cs プロジェクト: al-main/BookLibrary-2
        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;
        }