コード例 #1
0
        public bool SaveLookUpGroup()
        {
            initalDataDAL LookUpDal = new initalDataDAL();
            bool          Status    = false;
            DataTable     dt        = new DataTable();

            try
            {
                LumexDBPlayer db = LumexDBPlayer.Start(true);
                dt = LookUpDal.SaveLookUpGroup(this, db);
                db.Stop();
                Status = true;
            }
            catch (Exception)
            {
                throw;
            }
            finally
            {
                ElementGroupId = dt.Rows[0][0].ToString();
                LookUpDal      = null;
                dt.Clear();
            }

            return(Status);
        }
コード例 #2
0
        public DataTable GetElementGroupList()
        {
            DataTable     dt        = new DataTable();
            initalDataDAL LookUpDal = new initalDataDAL();

            try
            {
                LumexDBPlayer db = LumexDBPlayer.Start();
                dt = LookUpDal.GetElementGroupList(db);
                db.Stop();
                return(dt);
            }
            catch (Exception)
            {
                throw;
            }
            finally
            {
                LookUpDal = null;
            }
        }
コード例 #3
0
        public DataTable GetlookupdataNameIdbyGroup()
        {
            DataTable     dt        = new DataTable();
            initalDataDAL LookUpDal = new initalDataDAL();

            try
            {
                LumexDBPlayer db = LumexDBPlayer.Start();
                dt = LookUpDal.GetlookupdataNameIdbyGroup(this, db);
                db.Stop();
            }
            catch (Exception)
            {
                throw;
            }
            finally
            {
                LookUpDal = null;
            }
            return(dt);
        }
コード例 #4
0
        public bool checkDuplicateLookupGroup()
        {
            bool          status    = true;
            initalDataDAL LookUpDal = new initalDataDAL();

            try
            {
                LumexDBPlayer db = LumexDBPlayer.Start();
                status = LookUpDal.checkDuplicateLookupGroup(this, db);
                db.Stop();
            }
            catch (Exception)
            {
                throw;
            }
            finally
            {
                LookUpDal = null;
            }
            return(status);
        }
コード例 #5
0
        public bool checkDuplicateLookupGroup()
        {
            bool status = true;
            initalDataDAL LookUpDal = new initalDataDAL();

            try
            {
                LumexDBPlayer db = LumexDBPlayer.Start();
                status = LookUpDal.checkDuplicateLookupGroup(this, db);
                db.Stop();

            }
            catch (Exception)
            {
                throw;
            }
            finally
            {

                LookUpDal = null;

            }
            return status;
        }
コード例 #6
0
        public bool UpdateLookUpElementData()
        {
            initalDataDAL LookUpDal = new initalDataDAL();
            bool          Status    = false;
            DataTable     dt        = new DataTable();

            try
            {
                LumexDBPlayer db = LumexDBPlayer.Start(true);
                LookUpDal.UpdateLookUpElementData(this, db);
                db.Stop();
                Status = true;
            }
            catch (Exception)
            {
                throw;
            }
            finally
            {
                LookUpDal = null;
            }

            return(Status);
        }
コード例 #7
0
        public bool UpdateLookUpGroup()
        {
            initalDataDAL LookUpDal = new initalDataDAL();
            bool Status = false;
            LumexDBPlayer db = LumexDBPlayer.Start(true);
            try
            {

                LookUpDal.UpdateLookUpGroup(this, db);

                Status = true;

            }
            catch (Exception)
            {
                throw;
            }
            finally
            {
                LookUpDal = null;
                db.Stop();
            }

            return Status;
        }
コード例 #8
0
        public bool UpdateLookUpElementData()
        {
            initalDataDAL LookUpDal = new initalDataDAL();
            bool Status = false;
            DataTable dt = new DataTable();
            try
            {
                LumexDBPlayer db = LumexDBPlayer.Start(true);
                LookUpDal.UpdateLookUpElementData(this, db);
                db.Stop();
                Status = true;

            }
            catch (Exception)
            {
                throw;
            }
            finally
            {

                LookUpDal = null;
            }

            return Status;
        }
コード例 #9
0
        public bool SaveLookUpGroup()
        {
            initalDataDAL LookUpDal = new initalDataDAL();
            bool Status = false;
            DataTable dt = new DataTable();
            try
            {
                LumexDBPlayer db = LumexDBPlayer.Start(true);
                dt = LookUpDal.SaveLookUpGroup(this, db);
                db.Stop();
                Status = true;

            }
            catch (Exception)
            {
                throw;
            }
            finally
            {
                ElementGroupId = dt.Rows[0][0].ToString();
                LookUpDal = null;
                dt.Clear();
            }

            return Status;
        }
コード例 #10
0
        public DataTable GetlookupdataNameIdbyGroup()
        {
            DataTable dt = new DataTable();
            initalDataDAL LookUpDal = new initalDataDAL();

            try
            {
                LumexDBPlayer db = LumexDBPlayer.Start();
                dt = LookUpDal.GetlookupdataNameIdbyGroup(this, db);
                db.Stop();

            }
            catch (Exception)
            {

                throw;
            }
            finally
            {
                LookUpDal = null;
            }
            return dt;
        }
コード例 #11
0
        public DataTable GetElementGroupNameIdList()
        {
            DataTable dt = new DataTable();
            initalDataDAL LookUpDal = new initalDataDAL();

            try
            {
                LumexDBPlayer db = LumexDBPlayer.Start();
                dt = LookUpDal.GetElementGroupNameIdList(db);
                db.Stop();
                return dt;
            }
            catch (Exception)
            {

                throw;
            }
            finally
            {
                LookUpDal = null;
            }
        }