/// <summary> /// 언어 정보 저장 /// </summary> public bool GroupMenuAuthority_I10(GroupMenuAuthorityEntity pGroupMenuAuthorityEntity, DataTable dt) { try { DataTable dtTemp = null; bool isChack = CoFAS_ConvertManager.DataTable_FindCount(dt, "CRUD IN ('C','U','D')", ""); if (isChack) { dtTemp = CoFAS_ConvertManager.DataTable_FindValue(dt, "CRUD IN ('C','U','D')", ""); // 신규 and 수정 항목 데이터 테이블 화 } using (DBManager pDBManager = new DBManager()) { bool isReturn = new GroupMenuAuthorityProvider(pDBManager).GroupMenuAuthority_I10(pGroupMenuAuthorityEntity, dtTemp); return(isReturn); } } catch (ExceptionManager pExceptionManager) { throw pExceptionManager; } catch (Exception pException) { throw new ExceptionManager(this, "GroupMenuAuthority_I10(GroupMenuAuthorityEntity pGroupMenuAuthorityEntity, DataTable dt)", pException); } }
/// <summary> /// 개체 구하기 /// </summary> /// <param name="pDataRow">데이타 로우</param> /// <returns>메뉴 설정 개체</returns> public GroupMenuAuthorityEntity GetEntity(DataRow pDataRow) { try { GroupMenuAuthorityEntity pGroupMenuAuthorityEntity = new GroupMenuAuthorityProvider(null).GetEntity(pDataRow); return(pGroupMenuAuthorityEntity); } catch (Exception pException) { throw new ExceptionManager ( this, "GetEntity(pDataRow)", pException ); } }
/// <summary> /// 언어 정보 조회 /// </summary> public DataTable GroupMenuAuthority_R20(GroupMenuAuthorityEntity pGroupMenuAuthorityEntity) { try { using (DBManager pDBManager = new DBManager()) { DataTable pDataTable = new GroupMenuAuthorityProvider(pDBManager).GroupMenuAuthority_R20(pGroupMenuAuthorityEntity); return(pDataTable); } } catch (ExceptionManager pExceptionManager) { throw pExceptionManager; } catch (Exception pException) { throw new ExceptionManager(this, "GroupMenuAuthority_R20(GroupMenuAuthorityEntity pGroupMenuAuthorityEntity)", pException); } }