public virtual QuestionFormDetailContainer SelectChildrenByTemplateDetailOfQuestionFormDetail(DBString IDVal,
                                                                                           DBGuid TemplateRefVal)
 {
     TraceCallEnterEvent.Raise();
       try
       {
     QuestionFormDetailContainer result;
     DataSet entitySet = m_DataContext.ndihdTemplateDetailOfQuestionFormDetailSelectBy(IDVal,
                                                                                   TemplateRefVal);
     result = new QuestionFormDetailContainer(entitySet.Tables[0]);
     TraceCallReturnEvent.Raise();
     return result;
       }
       catch (Exception ex)
       {
     ExceptionManager.Publish(ex);
     TraceCallReturnEvent.Raise(false);
     throw;
       }
 }
 public virtual QuestionFormDetailContainer QuestionFormDetailSelectAll()
 {
     TraceCallEnterEvent.Raise();
       try
       {
     QuestionFormDetailContainer result;
     DataSet entitySet = m_DataContext.ndihdQuestionFormDetailSelectAll();
     result = new QuestionFormDetailContainer(entitySet.Tables[0]);
     TraceCallReturnEvent.Raise();
     return result;
       }
       catch (Exception ex)
       {
     ExceptionManager.Publish(ex);
     TraceCallReturnEvent.Raise(false);
     throw;
       }
 }