public virtual EDocumentPictureContainer EDocumentPictureSelectAll()
 {
     TraceCallEnterEvent.Raise();
       try
       {
     EDocumentPictureContainer result;
     DataSet entitySet = m_DataContext.ndihdEDocumentPictureSelectAll();
     result = new EDocumentPictureContainer(entitySet.Tables[0]);
     TraceCallReturnEvent.Raise();
     return result;
       }
       catch (Exception ex)
       {
     ExceptionManager.Publish(ex);
     TraceCallReturnEvent.Raise(false);
     throw;
       }
 }
 public virtual EDocumentPictureContainer SelectChildrenByPictureOfEdocument(DBGuid IDVal)
 {
     TraceCallEnterEvent.Raise();
       try
       {
     EDocumentPictureContainer result;
     DataSet entitySet = m_DataContext.ndihdPictureOfEdocumentSelectBy(IDVal);
     result = new EDocumentPictureContainer(entitySet.Tables[0]);
     TraceCallReturnEvent.Raise();
     return result;
       }
       catch (Exception ex)
       {
     ExceptionManager.Publish(ex);
     TraceCallReturnEvent.Raise(false);
     throw;
       }
 }