示例#1
0
 public void CompleteCopyingBasicData(PeriodId periodId, PeriodState preState)
 {
     using (var scope = new TransactionScope())
     {
         var period = periodRep.GetById(periodId);
         period.CompleteCopyingBasicData(periodManagerService, preState);
         scope.Complete();
     }
 }
示例#2
0
 public PeriodState Sub(PeriodState o)
 {
     owin[ocount % buf_size] = default;
     ocount++; // Known issue: increment by 1 only works with a sliding window of step size 1.
     return(this);
 }
示例#3
0
 public Period(long id, string name, PeriodState state)
 {
     Id    = id;
     Name  = name;
     State = state;
 }