/// <summary> /// 返回菜单分页数据列表 /// </summary> /// <param name="pageIndex"></param> /// <param name="pageSize"></param> /// <param name="totalRecord"></param> /// <returns></returns> public List <GX_PHOTOGALLERY> FindAllGxProject(string htbh, string gcbh, string gcmc, int pageIndex, int pageSize, out int totalRecord) { GxPhotogalleryRepository gxSysRoleRepository = new GxPhotogalleryRepository(uw); return(gxSysRoleRepository.FindAllProject(htbh, gcbh, gcmc, pageIndex, pageSize, out totalRecord)); }
public List <GX_PHOTOGALLERY> FindAll(decimal id) { GxPhotogalleryRepository gxXmysxxRepository = new GxPhotogalleryRepository(uw); return(gxXmysxxRepository.FindAll(t => t.PARENTID == id)); }
public void Delete(GX_PHOTOGALLERY gxXmysxx) { GxPhotogalleryRepository gxXmysxxRepository = new GxPhotogalleryRepository(uw); gxXmysxxRepository.DeleteEntity(gxXmysxx); }
public GX_PHOTOGALLERY Find(decimal id) { GxPhotogalleryRepository gxXmysxxRepository = new GxPhotogalleryRepository(uw); return(gxXmysxxRepository.FindEntity(id)); }
public void Add(GX_PHOTOGALLERY gxXmysxx) { GxPhotogalleryRepository gxXmysxxRepository = new GxPhotogalleryRepository(uw); gxXmysxxRepository.AddEntity(gxXmysxx); }