public OrgMemberOfOrgContainer KefContactTypeOfMembers(string KefContactTypeRef, DBGuid OrganisationKefRef)
 {
     TraceCallEnterEvent.Raise();
       try
       {
     OrgMemberOfOrgContainer result;
     DataSet entitySet = m_DataContext.ndihdKefContactTypeOfMembers(KefContactTypeRef, OrganisationKefRef);
     result = new OrgMemberOfOrgContainer(entitySet.Tables[0]);
     TraceCallReturnEvent.Raise();
     return result;
       }
       catch (Exception ex)
       {
     ExceptionManager.Publish(ex);
     TraceCallReturnEvent.Raise(false);
     throw;
       }
 }
 public virtual OrgMemberOfOrgContainer SelectChildrenByKefContactTypeOfMember(DBString IDVal)
 {
     TraceCallEnterEvent.Raise();
       try
       {
     OrgMemberOfOrgContainer result;
     DataSet entitySet = m_DataContext.ndihdKefContactTypeOfMemberSelectBy(IDVal);
     result = new OrgMemberOfOrgContainer(entitySet.Tables[0]);
     TraceCallReturnEvent.Raise();
     return result;
       }
       catch (Exception ex)
       {
     ExceptionManager.Publish(ex);
     TraceCallReturnEvent.Raise(false);
     throw;
       }
 }
 public virtual OrgMemberOfOrgContainer OrgMemberOfOrgSelectAll()
 {
     TraceCallEnterEvent.Raise();
       try
       {
     OrgMemberOfOrgContainer result;
     DataSet entitySet = m_DataContext.ndihdOrgMemberOfOrgSelectAll();
     result = new OrgMemberOfOrgContainer(entitySet.Tables[0]);
     TraceCallReturnEvent.Raise();
     return result;
       }
       catch (Exception ex)
       {
     ExceptionManager.Publish(ex);
     TraceCallReturnEvent.Raise(false);
     throw;
       }
 }