Пример #1
0
 /// <summary>
 /// 개체 구하기
 /// </summary>
 /// <param name="pDataRow">데이타 로우</param>
 /// <returns>메뉴 설정 개체</returns>
 public UsingExcelEntity GetEntity(DataRow pDataRow)
 {
     try
     {
         UsingExcelEntity pUsingExcelEntity = new UsingExcelProvider(null).GetEntity(pDataRow);
         return(pUsingExcelEntity);
     }
     catch (Exception pException)
     {
         throw new ExceptionManager
               (
                   this,
                   "GetEntity(pDataRow)",
                   pException
               );
     }
 }
Пример #2
0
        /// <summary>
        /// 언어 정보 조회
        /// </summary>
        //public DataTable UsingExcel_Sub(UsingExcelEntity pUsingExcelEntity)
        //{
        //    try
        //    {
        //        using (DBManager pDBManager = new DBManager())
        //        {
        //            //DataTable pDataTable = new UsingExcelProvider(pDBManager).Sample_Info_Sub(pUsingExcelEntity);
        //            //return pDataTable;
        //        }
        //    }
        //    catch (ExceptionManager pExceptionManager)
        //    {
        //        throw pExceptionManager;
        //    }
        //    catch (Exception pException)
        //    {
        //        throw new ExceptionManager(this, "UsingExcel_Sub(UsingExcelEntity pUsingExcelEntity)", pException);
        //    }
        //}

        #endregion

        #region 그리드 정보 저장 - UsingExcel_Save(SampleRegisterEntity pSampleRegisterEntity, DataTable dt)

        /// <summary>
        /// 언어 정보 저장
        /// </summary>
        public bool UsingExcel_Save(UsingExcelEntity pUsingExcelEntity)
        {
            try
            {
                using (DBManager pDBManager = new DBManager())
                {
                    bool isReturn = new UsingExcelProvider(pDBManager).UsingExcel_Save(pUsingExcelEntity);
                    return(isReturn);
                }
            }
            catch (ExceptionManager pExceptionManager)
            {
                throw pExceptionManager;
            }
            catch (Exception pException)
            {
                throw new ExceptionManager(this, "UsingExcel_Save(UsingExcelEntity pUsingExcelEntity, DataTable dt)", pException);
            }
        }
Пример #3
0
 /// <summary>
 /// 언어 정보 조회
 /// </summary>
 public DataTable ExcelForm_Mst(UsingExcelEntity pUsingExcelEntity)
 {
     try
     {
         using (DBManager pDBManager = new DBManager())
         {
             DataTable pDataTable = new UsingExcelProvider(pDBManager).ExcelForm_Mst(pUsingExcelEntity);
             return(pDataTable);
         }
     }
     catch (ExceptionManager pExceptionManager)
     {
         throw pExceptionManager;
     }
     catch (Exception pException)
     {
         throw new ExceptionManager(this, "ExcelForm_Mst(UsingExcelEntity pUsingExcelEntity)", pException);
     }
 }