public IExceptionOccurrence Copy() { var exception = new ExceptionOccurrence(); exception.CopyFrom(this); return exception; }
public IExceptionOccurrence CreateNew() { var exceptionOccurence = new ExceptionOccurrence(); exceptionOccurence.Appointment = this.MasterAppointment; CalendarRepository.Context.AddToExceptionOccurrences(exceptionOccurence); return exceptionOccurence; }