コード例 #1
0
 /// <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;
 }
コード例 #2
0
 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;
       }
 }
コード例 #3
0
 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;
       }
 }
コード例 #4
0
 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;
       }
 }