예제 #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;
            }
        }