Example #1
0
        public void Delete(ClashExceptionType fromType, ClashExceptionType toType, string fromValue, string toValue)
        {
            lock (_session)
            {
                var items = _session.GetAll <ClashException>(x => x.FromType == fromType && x.ToType == toType && x.FromValue == fromValue && x.ToValue == toValue);

                foreach (var item in items)
                {
                    _session.Delete(item);
                }
            }
        }
Example #2
0
 public ClashExceptionCreated(DateTime startDate, DateTime?endDate, ClashExceptionType fromType, ClashExceptionType toType,
                              IncludeOrExclude includeOrExclude, string fromValue, string toValue, List <TimeAndDow> timeAndDows, string externalRef)
 {
     StartDate        = startDate;
     EndDate          = endDate;
     FromType         = fromType;
     ToType           = toType;
     IncludeOrExclude = includeOrExclude;
     FromValue        = fromValue;
     ToValue          = toValue;
     TimeAndDows      = timeAndDows;
     ExternalRef      = externalRef;
 }
 public void Delete(ClashExceptionType fromType, ClashExceptionType toType, string fromValue, string toValue)
 {
     throw new NotImplementedException();
 }