public StandingOrderEntityPersistence(StandingOrderEntity entity)
 {
     PersistentId    = entity.PersistentId;
     FirstBookDate   = entity.FirstBookDate;
     LastBookDate    = entity.LastBookDate;
     LastBookedDate  = entity.LastBookedDate;
     ReferenceMonth  = entity.ReferenceMonth;
     ReferenceDay    = entity.ReferenceDay;
     MonthPeriodStep = entity.MonthPeriodStep;
     Value           = entity.Value;
     Description     = entity.Description;
     Category        = new CategoryEntityStub(entity.Category);
 }
 public StandingOrderEntityPersistence(StandingOrderEntity entity)
 {
     PersistentId = entity.PersistentId;
     FirstBookDate = entity.FirstBookDate;
     LastBookDate = entity.LastBookDate;
     LastBookedDate = entity.LastBookedDate;
     ReferenceMonth = entity.ReferenceMonth;
     ReferenceDay = entity.ReferenceDay;
     MonthPeriodStep = entity.MonthPeriodStep;
     Value = entity.Value;
     Description = entity.Description;
     Category = new CategoryEntityStub(entity.Category);
 }