Пример #1
0
        /// <summary>
        /// 删除人井图片信息
        /// </summary>
        /// <param name="photogallery"></param>
        /// <param name="unitOfWork"></param>
        public void DelRjxxPhoto(GX_PHOTOGALLERY photogallery, UnitOfWork unitOfWork)
        {
            RepositoryBase <GX_PHOTOGALLERY> repositoryBase = new RepositoryBase <GX_PHOTOGALLERY>(unitOfWork);

            repositoryBase.Delete(photogallery);
        }
        public void Add(GX_PHOTOGALLERY gxXmysxx)
        {
            GxPhotogalleryRepository gxXmysxxRepository = new GxPhotogalleryRepository(uw);

            gxXmysxxRepository.AddEntity(gxXmysxx);
        }
        public void Delete(GX_PHOTOGALLERY gxXmysxx)
        {
            GxPhotogalleryRepository gxXmysxxRepository = new GxPhotogalleryRepository(uw);

            gxXmysxxRepository.DeleteEntity(gxXmysxx);
        }
Пример #4
0
        /// <summary>
        /// 删除人井图片信息
        /// </summary>
        /// <param name="photogallery"></param>
        /// <param name="unitOfWork"></param>
        public void DelRjxxPhoto(GX_PHOTOGALLERY photogallery)
        {
            GxRjxxRepository gxRjxxRepository = new GxRjxxRepository();

            gxRjxxRepository.DelRjxxPhoto(photogallery, uw);
        }