public void updateId(string flag)
 {
     try
     {
         AutoIdGenerateDAL autoId = new AutoIdGenerateDAL();
         LumexDBPlayer     db     = LumexDBPlayer.Start();
         autoId.updateId(db, flag);
         db.Stop();
     }
     catch (Exception)
     {
         throw;
     }
 }
 public void deleteId(string id)
 {
     try
     {
         AutoIdGenerateDAL autoId = new AutoIdGenerateDAL();
         LumexDBPlayer     db     = LumexDBPlayer.Start();
         autoId.deleteId(db, id);
         db.Stop();
     }
     catch (Exception)
     {
         throw;
     }
 }
 public DataTable CreateId(string flag)
 {
     try
     {
         AutoIdGenerateDAL autoId = new AutoIdGenerateDAL();
         LumexDBPlayer     db     = LumexDBPlayer.Start();
         DataTable         dt     = autoId.CreateId(db, flag);
         db.Stop();
         return(dt);
     }
     catch (Exception)
     {
         throw;
     }
 }