示例#1
0
 public void Remove()
 {
     ActInputControlTechnicalStateDto act = SampleEntityDto.CreateActInputControlTechnicalStateDto();
     OnTestOfRemove<ActInputControlTechnicalStateDto, ActInputControlTechnicalState>(
         ref act,
         service => service.RemoveActInputControlTechnicalState(act));
 }
示例#2
0
 public void Update()
 {
     ActInputControlTechnicalStateDto act = SampleEntityDto.CreateActInputControlTechnicalStateDto();
     OnTestOfUpdate<ActInputControlTechnicalStateDto, ActInputControlTechnicalState>(
         ref act,
         service => { act.Note = "new note!!!!"; service.UpdateActInputControlTechnicalState(act); },
         (dto, entity) => dto.Note == entity.Note);
 }
 public virtual void RemoveActInputControlTechnicalState(ActInputControlTechnicalStateDto entity)
 {
     throw new NotImplementedException();
 }
     public virtual ActInputControlTechnicalStateDto InsertActInputControlTechnicalState(ActInputControlTechnicalStateDto entity)
 {
     throw new NotImplementedException();
 }
示例#5
0
 public virtual void UpdateActInputControlTechnicalState(ActInputControlTechnicalStateDto entity)
 {
     this.UpdateEntity <ActInputControlTechnicalState, ActInputControlTechnicalStateDto>(entity);
 }
示例#6
0
 public virtual ActInputControlTechnicalStateDto InsertActInputControlTechnicalState(ActInputControlTechnicalStateDto entity)
 {
     return(this.AddEntity <ActInputControlTechnicalState, ActInputControlTechnicalStateDto>(entity));
 }