コード例 #1
0
 public EDocumentContainer SelectChildrenByTypeOfEDocumentVisibleForVisitor(DBString IDVal)
 {
     EDocumentContainer all = SelectChildrenByTypeOfEDocument(IDVal);
       EDocumentContainer result = new EDocumentContainer();
       foreach (EDocument item in all.All)
       {
     if (item.IsActive && item.VisibleForVisitor)
     {
       result.Add(item);
     }
       }
       return result;
 }
コード例 #2
0
 public virtual EDocumentContainer SelectChildrenByTypeOfEDocument(DBString IDVal)
 {
     TraceCallEnterEvent.Raise();
       try
       {
     EDocumentContainer result;
     DataSet entitySet = m_DataContext.ndihdTypeOfEDocumentSelectBy(IDVal);
     result = new EDocumentContainer(entitySet.Tables[0]);
     TraceCallReturnEvent.Raise();
     return result;
       }
       catch (Exception ex)
       {
     ExceptionManager.Publish(ex);
     TraceCallReturnEvent.Raise(false);
     throw;
       }
 }
コード例 #3
0
 public virtual EDocumentContainer EDocumentSelectAll()
 {
     TraceCallEnterEvent.Raise();
       try
       {
     EDocumentContainer result;
     DataSet entitySet = m_DataContext.ndihdEDocumentSelectAll();
     result = new EDocumentContainer(entitySet.Tables[0]);
     TraceCallReturnEvent.Raise();
     return result;
       }
       catch (Exception ex)
       {
     ExceptionManager.Publish(ex);
     TraceCallReturnEvent.Raise(false);
     throw;
       }
 }