public IList <T> NCSGetEntities(ref string Msg, Expression <Func <T, bool> > where = null) { try { return(_dal.GetEntities(where)); } catch (Exception ex) { return(null); } }
public IList <ProductsDTO> GetList() { return(_dal.GetEntities <T_Products>(m => 1 == 1, true).Select(CreateDataMapper.GetMappedSelector <T_Products, ProductsDTO>()).ToList()); }
public IList <InventoryDTO> GetList() { return(_dal.GetEntities <T_Inventory>(m => 1 == 1, true).Select(CreateDataMapper.GetMappedSelector <T_Inventory, InventoryDTO>()).ToList()); }
public IEnumerable <UserDTO> GetList() { Mapper.CreateMap <T_User, UserDTO>(); return(_dal.GetEntities <T_User>(m => 1 == 1, true).Select(CreateDataMapper.GetMappedSelector <T_User, UserDTO>()).ToList()); }
/// <summary> /// 获取Entities(列表) /// </summary> public IEnumerable <T> GetEntities(Func <T, bool> exp) { return(dao.GetEntities(exp)); }
public IList <FruitPicDTO> GetList() { return(_dal.GetEntities <T_FruitPic>(m => 1 == 1, true).Select(CreateDataMapper.GetMappedSelector <T_FruitPic, FruitPicDTO>()).ToList()); }
public IList <SupplierDTO> GetList() { return(_dal.GetEntities <T_Supplier>(m => 1 == 1, true).Select(CreateDataMapper.GetMappedSelector <T_Supplier, SupplierDTO>()).ToList()); }
public IList <PlaceDTO> GetList() { return(_dal.GetEntities <T_Place>(m => 1 == 1, true).Select(CreateDataMapper.GetMappedSelector <T_Place, PlaceDTO>()).ToList()); }
public IList <StockinDTO> GetList() { return(_dal.GetEntities <T_Stockin>(m => 1 == 1, true).Select(CreateDataMapper.GetMappedSelector <T_Stockin, StockinDTO>()).ToList()); }
public IList <UserOrdersDTO> GetList() { return(_dal.GetEntities <T_UserOrders>(m => 1 == 1, true).Select(CreateDataMapper.GetMappedSelector <T_UserOrders, UserOrdersDTO>()).ToList()); }