/// <summary> /// 언어 정보 저장 /// </summary> public bool MenuAuthority_I10(MenuAuthorityEntity pMenuAuthorityEntity, 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 MenuAuthorityProvider(pDBManager).MenuAuthority_I10(pMenuAuthorityEntity, dtTemp); return(isReturn); } } catch (ExceptionManager pExceptionManager) { throw pExceptionManager; } catch (Exception pException) { throw new ExceptionManager(this, "MenuAuthority_I10(MenuAuthorityEntity pMenuAuthorityEntity, DataTable dt)", pException); } }
/// <summary> /// 개체 구하기 /// </summary> /// <param name="pDataRow">데이타 로우</param> /// <returns>메뉴 설정 개체</returns> public MenuAuthorityEntity GetEntity(DataRow pDataRow) { try { MenuAuthorityEntity pMenuAuthorityEntity = new MenuAuthorityProvider(null).GetEntity(pDataRow); return(pMenuAuthorityEntity); } catch (Exception pException) { throw new ExceptionManager ( this, "GetEntity(pDataRow)", pException ); } }
/// <summary> /// 언어 정보 조회 /// </summary> public DataTable MenuAuthority_R20(MenuAuthorityEntity pMenuAuthorityEntity) { try { using (DBManager pDBManager = new DBManager()) { DataTable pDataTable = new MenuAuthorityProvider(pDBManager).MenuAuthority_R20(pMenuAuthorityEntity); return(pDataTable); } } catch (ExceptionManager pExceptionManager) { throw pExceptionManager; } catch (Exception pException) { throw new ExceptionManager(this, "MenuAuthority_R20(MenuAuthorityEntity pMenuAuthorityEntity)", pException); } }