public IExceptionOccurrence Copy() { var exception = new SqlExceptionOccurrence(); exception.CopyFrom(this); return(exception); }
public IExceptionOccurrence CreateNew() { var excOcc = new SqlExceptionOccurrence(); excOcc.SqlAppointment = this.MasterAppointment; ScheduleViewRepository.Context.SqlExceptionOccurrences.Add(excOcc); return(excOcc); }