/// <summary> /// Default constructor (new) /// </summary> public frmTemplateDetailEdit(DBGuid TemplateId, TemplatePageContainer pages, TemplateDetailContainer ExistingDetails) { // Required for Windows Form Designer support InitializeComponent(); m_TemplateID = TemplateId; m_Pages = pages; m_ExistingDetails = ExistingDetails; }
public TemplateDetailContainer DetailOfTemplateSelectByIsActive(Guid templateId) { TraceCallEnterEvent.Raise(); try { TemplateDetailContainer result; DataSet entitySet = m_DataContext.ndihdDetailOfTemplateSelectByIsActive(templateId); result = new TemplateDetailContainer(entitySet.Tables[0]); TraceCallReturnEvent.Raise(); return result; } catch (Exception ex) { ExceptionManager.Publish(ex); TraceCallReturnEvent.Raise(false); throw; } }
public virtual TemplateDetailContainer SelectChildrenByDetailOfTemplate(DBGuid IDVal) { TraceCallEnterEvent.Raise(); try { TemplateDetailContainer result; DataSet entitySet = m_DataContext.ndihdDetailOfTemplateSelectBy(IDVal); result = new TemplateDetailContainer(entitySet.Tables[0]); TraceCallReturnEvent.Raise(); return result; } catch (Exception ex) { ExceptionManager.Publish(ex); TraceCallReturnEvent.Raise(false); throw; } }
public virtual TemplateDetailContainer TemplateDetailSelectAll() { TraceCallEnterEvent.Raise(); try { TemplateDetailContainer result; DataSet entitySet = m_DataContext.ndihdTemplateDetailSelectAll(); result = new TemplateDetailContainer(entitySet.Tables[0]); TraceCallReturnEvent.Raise(); return result; } catch (Exception ex) { ExceptionManager.Publish(ex); TraceCallReturnEvent.Raise(false); throw; } }