public virtual ProgramQuestionFormContainer SelectChildrenByQuestionFormOfProgram(DBGuid IDVal) { TraceCallEnterEvent.Raise(); try { ProgramQuestionFormContainer result; DataSet entitySet = m_DataContext.ndihdQuestionFormOfProgramSelectBy(IDVal); result = new ProgramQuestionFormContainer(entitySet.Tables[0]); TraceCallReturnEvent.Raise(); return result; } catch (Exception ex) { ExceptionManager.Publish(ex); TraceCallReturnEvent.Raise(false); throw; } }
public virtual ProgramQuestionFormContainer ProgramQuestionFormSelectAll() { TraceCallEnterEvent.Raise(); try { ProgramQuestionFormContainer result; DataSet entitySet = m_DataContext.ndihdProgramQuestionFormSelectAll(); result = new ProgramQuestionFormContainer(entitySet.Tables[0]); TraceCallReturnEvent.Raise(); return result; } catch (Exception ex) { ExceptionManager.Publish(ex); TraceCallReturnEvent.Raise(false); throw; } }