예제 #1
0
        public void Transfer(EventErrorDescriptor @event)
        {
            var currentSession = _sessionFactory.GetCurrentSession();

            currentSession.Save(@event.ToEventDescriptor());
            currentSession.Delete(@event);
        }
예제 #2
0
 public virtual EventErrorDescriptor ToErrorEventDescriptor()
 {
     var clone = new EventErrorDescriptor(EventData.Event, Header);
     return clone;
 }
 public void Transfer(EventErrorDescriptor @event)
 {
     var currentSession = _sessionFactory.GetCurrentSession();
     currentSession.Save(@event.ToEventDescriptor());
     currentSession.Delete(@event);
 }