/// <summary> /// 언어 정보 저장 /// </summary> public bool Sample_Info_Save(SampleExcelBindingEntity pSampleExcelBindingEntity, 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 SampleExcelBindingProvider(pDBManager).Sample_Info_Save(pSampleExcelBindingEntity, dtTemp); return(isReturn); } } catch (ExceptionManager pExceptionManager) { throw pExceptionManager; } catch (Exception pException) { throw new ExceptionManager(this, "Sample_Info_Save(SampleExcelBindingEntity pSampleExcelBindingEntity, DataTable dt)", pException); } }
/// <summary> /// 개체 구하기 /// </summary> /// <param name="pDataRow">데이타 로우</param> /// <returns>메뉴 설정 개체</returns> public SampleExcelBindingEntity GetEntity(DataRow pDataRow) { try { SampleExcelBindingEntity pSampleRegisterEntity = new SampleExcelBindingProvider(null).GetEntity(pDataRow); return(pSampleRegisterEntity); } catch (Exception pException) { throw new ExceptionManager ( this, "GetEntity(pDataRow)", pException ); } }
public DataTable Sheet_Info_Sheet(SampleExcelBindingEntity pSampleExcelBindingEntity) { try { using (DBManager pDBManager = new DBManager()) { DataTable pdatatable = new SampleExcelBindingProvider(pDBManager).Sheet_Info_sheet(pSampleExcelBindingEntity); return(pdatatable); } } catch (ExceptionManager pExceptionManager) { throw pExceptionManager; } catch (Exception pException) { throw new ExceptionManager(this, "Sheet_Info_Sheet(ProcessMaterialStockStatusEntity _pProcessMaterialStockStatusEntity)", pException); } }
/// <summary> /// 언어 정보 조회 /// </summary> public DataTable Sample_Info_Sub(SampleExcelBindingEntity pSampleExcelBindingEntity) { try { using (DBManager pDBManager = new DBManager()) { DataTable pDataTable = new SampleExcelBindingProvider(pDBManager).Sample_Info_Mst(pSampleExcelBindingEntity); return(pDataTable); } } catch (ExceptionManager pExceptionManager) { throw pExceptionManager; } catch (Exception pException) { throw new ExceptionManager(this, "Sample_Info_Sub(SampleExcelBindingEntity pSampleExcelBindingEntity)", pException); } }
/// <summary> /// 언어 정보 조회 /// </summary> //public DataTable Sheet_Info_Sheet_Data(SampleExcelBindingEntity pSampleExcelBindingEntity) public DataSet Sheet_Info_Sheet_Data(SampleExcelBindingEntity pSampleExcelBindingEntity) { try { using (DBManager pDBManager = new DBManager()) { // DataTable pDataTable = new SampleExcelBindingProvider(pDBManager).Sheet_Info_Sheet_Data(pSampleExcelBindingEntity); DataSet pDataSet = new SampleExcelBindingProvider(pDBManager).Sheet_Info_Sheet_Data(pSampleExcelBindingEntity); return(pDataSet); } } catch (ExceptionManager pExceptionManager) { throw pExceptionManager; } catch (Exception pException) { throw new ExceptionManager(this, "Sheet_Info_Sheet_Data(SampleExcelBindingEntity pSampleExcelBindingEntity)", pException); } }