Пример #1
0
 public EventContainer EventSelectFiltered(Event filter)
 {
     TraceCallEnterEvent.Raise();
       try
       {
     EventContainer result;
     DataSet entitySet = m_DataContext.ndihdEventSelectFiltered(
       filter.Method,
       filter.PrincipalName,
       filter.FilterOnTimeStampFrom,
       filter.FilterOnTimeStampTo);
     result = new EventContainer(entitySet.Tables[0]);
     TraceCallReturnEvent.Raise();
     return result;
       }
       catch (Exception ex)
       {
     ExceptionManager.Publish(ex);
     TraceCallReturnEvent.Raise(false);
     throw;
       }
 }
Пример #2
0
 public virtual EventContainer EventSelectAll()
 {
     TraceCallEnterEvent.Raise();
       try
       {
     EventContainer result;
     DataSet entitySet = m_DataContext.ndihdEventSelectAll();
     result = new EventContainer(entitySet.Tables[0]);
     TraceCallReturnEvent.Raise();
     return result;
       }
       catch (Exception ex)
       {
     ExceptionManager.Publish(ex);
     TraceCallReturnEvent.Raise(false);
     throw;
       }
 }
Пример #3
0
 public virtual EventContainer SelectChildrenByFunctionOfLogEntry(DBString IDVal)
 {
     TraceCallEnterEvent.Raise();
       try
       {
     EventContainer result;
     DataSet entitySet = m_DataContext.ndihdFunctionOfLogEntrySelectBy(IDVal);
     result = new EventContainer(entitySet.Tables[0]);
     TraceCallReturnEvent.Raise();
     return result;
       }
       catch (Exception ex)
       {
     ExceptionManager.Publish(ex);
     TraceCallReturnEvent.Raise(false);
     throw;
       }
 }