Example #1
0
 public UInt16 getCurrentShelfDisableCount()
 {
     using (DBConnection_EF con = DBConnection_EF.GetUContext())
     {
         return((UInt16)shelfdefDao.LoadDisableShelf(con).Count);
     }
 }
        public List <ShelfDef> GetDisShelf(string zoneid)
        {
            try
            {
                using (DBConnection_EF con = DBConnection_EF.GetUContext())
                {
                    var result = shelfdefDao.LoadDisableShelf(con, zoneid);

                    return(result);
                }
            }
            catch (Exception ex)
            {
                logger.Error(ex, "Exception");
                return(null);
            }
        }