Exemplo n.º 1
0
 public virtual OrganisationUserContainer SelectChildrenByUserOfOrganisationUser(DBString LoginNameVal)
 {
     TraceCallEnterEvent.Raise();
       try
       {
     OrganisationUserContainer result;
     DataSet entitySet = m_DataContext.ndihdUserOfOrganisationUserSelectBy(LoginNameVal);
     result = new OrganisationUserContainer(entitySet.Tables[0]);
     TraceCallReturnEvent.Raise();
     return result;
       }
       catch (Exception ex)
       {
     ExceptionManager.Publish(ex);
     TraceCallReturnEvent.Raise(false);
     throw;
       }
 }
 public virtual OrganisationUserContainer OrganisationUserSelectAll()
 {
     TraceCallEnterEvent.Raise();
       try
       {
     OrganisationUserContainer result;
     DataSet entitySet = m_DataContext.ndihdOrganisationUserSelectAll();
     result = new OrganisationUserContainer(entitySet.Tables[0]);
     TraceCallReturnEvent.Raise();
     return result;
       }
       catch (Exception ex)
       {
     ExceptionManager.Publish(ex);
     TraceCallReturnEvent.Raise(false);
     throw;
       }
 }