Exemplo n.º 1
0
        public IExceptionOccurrence Copy()
        {
            var exception = new SqlExceptionOccurrence();

            exception.CopyFrom(this);
            return(exception);
        }
Exemplo n.º 2
0
        public IExceptionOccurrence CreateNew()
        {
            var excOcc = new SqlExceptionOccurrence();

            excOcc.SqlAppointment = this.MasterAppointment;
            ScheduleViewRepository.Context.SqlExceptionOccurrences.Add(excOcc);
            return(excOcc);
        }