public virtual DesignerDrogAttachmentContainer DesignerDrogAttachmentSelectAll()
 {
     TraceCallEnterEvent.Raise();
       try
       {
     DesignerDrogAttachmentContainer result;
     DataSet entitySet = m_DataContext.ndihdDesignerDrogAttachmentSelectAll();
     result = new DesignerDrogAttachmentContainer(entitySet.Tables[0]);
     TraceCallReturnEvent.Raise();
     return result;
       }
       catch (Exception ex)
       {
     ExceptionManager.Publish(ex);
     TraceCallReturnEvent.Raise(false);
     throw;
       }
 }
Ejemplo n.º 2
0
 protected void ShowAttachmentGrid( Guid id, DesignerDrogAttachmentContainer attachments )
 {
     gridAttachment.DataSource = attachments.All.SortBy( "CreatedDate", false );
     gridAttachment.DataBind();
 }
 public virtual DesignerDrogAttachmentContainer SelectChildrenByAttachmentOfDesignerDrogItem(DBGuid IDVal)
 {
     TraceCallEnterEvent.Raise();
       try
       {
     DesignerDrogAttachmentContainer result;
     DataSet entitySet = m_DataContext.ndihdAttachmentOfDesignerDrogItemSelectBy(IDVal);
     result = new DesignerDrogAttachmentContainer(entitySet.Tables[0]);
     TraceCallReturnEvent.Raise();
     return result;
       }
       catch (Exception ex)
       {
     ExceptionManager.Publish(ex);
     TraceCallReturnEvent.Raise(false);
     throw;
       }
 }