Beispiel #1
0
 public void Remove()
 {
     ActInputControlTechnicalStateDto act = SampleEntityDto.CreateActInputControlTechnicalStateDto();
     OnTestOfRemove<ActInputControlTechnicalStateDto, ActInputControlTechnicalState>(
         ref act,
         service => service.RemoveActInputControlTechnicalState(act));
 }
Beispiel #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);
 }
Beispiel #3
0
 public void Create()
 {
     OnTestOfCreate(service =>
         service.InsertActInputControlTechnicalState(
             SampleEntityDto.CreateActInputControlTechnicalStateDto()));
 }