public void Remove()
        {
            ApplySolutionByRemarkDto solution = SampleEntityDto.CreateApplySolutionByRemarkDto();

            OnTestOfRemove <ApplySolutionByRemarkDto, ApplySolutionByRemark>(
                ref solution,
                service => service.RemoveApplySolutionByRemark(solution));
        }
        public void Update()
        {
            ApplySolutionByRemarkDto solution = SampleEntityDto.CreateApplySolutionByRemarkDto();

            OnTestOfUpdate <ApplySolutionByRemarkDto, ApplySolutionByRemark>(
                ref solution,
                service => { solution.CreationDate = new DateTime(2999, 1, 1); service.UpdateApplySolutionByRemark(solution); },
                (dto, entity) => dto.CreationDate == entity.CreationDate);
        }
 public virtual void UpdateApplySolutionByRemark(ApplySolutionByRemarkDto solution)
 {
     throw new NotImplementedException();
 }
 public virtual ApplySolutionByRemarkDto InsertApplySolutionByRemark(ApplySolutionByRemarkDto solution)
 {
     throw new NotImplementedException();
 }
示例#5
0
 public virtual void UpdateApplySolutionByRemark(ApplySolutionByRemarkDto entity)
 {
     this.UpdateEntity <ApplySolutionByRemark, ApplySolutionByRemarkDto>(entity);
 }
示例#6
0
 public virtual void RemoveApplySolutionByRemark(ApplySolutionByRemarkDto entity)
 {
     this.RemoveEntity <ApplySolutionByRemark, ApplySolutionByRemarkDto>(entity);
 }
示例#7
0
 public virtual ApplySolutionByRemarkDto InsertApplySolutionByRemark(ApplySolutionByRemarkDto entity)
 {
     return(this.AddEntity <ApplySolutionByRemark, ApplySolutionByRemarkDto>(entity));
 }