コード例 #1
0
 public void Reload(ref SeatConsolidationRule entity)
 {
     if (entity.SaftyGetProperty<bool, IEditingObject>(o => o.IsNew))
     {
         _seatConsolidationRepository.Evict(entity);
     }
     else
     {
         _seatConsolidationRepository.Refresh(ref entity);
     }
 }
コード例 #2
0
 public void Reload(ref SeatConsolidationRule entity)
 {
     if (entity.SaftyGetProperty <bool, IEditingObject>(o => o.IsNew))
     {
         _seatConsolidationRepository.Evict(entity);
     }
     else
     {
         _seatConsolidationRepository.Refresh(ref entity);
     }
 }