public ForumThreadContainer ForumThreadSelectFiltered(ForumThread filter)
 {
     TraceCallEnterEvent.Raise();
       try
       {
     ForumThreadContainer result;
     DataSet entitySet = m_DataContext.ndihdForumThreadSelectFiltered(
       filter.Name,
       filter.ForumGroupRef,
       filter.FilterOnLastItemFrom,
       filter.FilterOnLastItemTo,
       filter.FilterOnIsactive);
     result = new ForumThreadContainer(entitySet.Tables[0]);
     TraceCallReturnEvent.Raise();
     return result;
       }
       catch (Exception ex)
       {
     ExceptionManager.Publish(ex);
     TraceCallReturnEvent.Raise(false);
     throw;
       }
 }
 public virtual ForumThreadContainer ForumThreadSelectAll()
 {
     TraceCallEnterEvent.Raise();
       try
       {
     ForumThreadContainer result;
     DataSet entitySet = m_DataContext.ndihdForumThreadSelectAll();
     result = new ForumThreadContainer(entitySet.Tables[0]);
     TraceCallReturnEvent.Raise();
     return result;
       }
       catch (Exception ex)
       {
     ExceptionManager.Publish(ex);
     TraceCallReturnEvent.Raise(false);
     throw;
       }
 }
 public virtual ForumThreadContainer SelectChildrenByGroupOfForumThread(DBGuid IDVal)
 {
     TraceCallEnterEvent.Raise();
       try
       {
     ForumThreadContainer result;
     DataSet entitySet = m_DataContext.ndihdGroupOfForumThreadSelectBy(IDVal);
     result = new ForumThreadContainer(entitySet.Tables[0]);
     TraceCallReturnEvent.Raise();
     return result;
       }
       catch (Exception ex)
       {
     ExceptionManager.Publish(ex);
     TraceCallReturnEvent.Raise(false);
     throw;
       }
 }