Ejemplo n.º 1
0
        public A05_Info_Export GetByID_Exp(decimal p_app_header_id, string p_language_code,
                                           ref ApplicationHeaderInfo applicationHeaderInfo,
                                           ref List <AppDocumentInfo> appDocumentInfos,
                                           ref List <AppFeeFixInfo> appFeeFixInfos,
                                           ref List <Other_MasterInfo> pOther_MasterInfo,
                                           ref List <AppDocumentOthersInfo> pAppDocOtherInfo)
        {
            try
            {
                A05_DA          _obj_da   = new A05_DA();
                DataSet         dataSet   = _obj_da.GetByID(p_app_header_id, p_language_code);
                A05_Info_Export _A05_Info = CBO <A05_Info_Export> .FillObjectFromDataSet(dataSet);

                if (dataSet != null && dataSet.Tables.Count == 6)
                {
                    applicationHeaderInfo = CBO <ApplicationHeaderInfo> .FillObjectFromDataTable(dataSet.Tables[1]);

                    appDocumentInfos = CBO <AppDocumentInfo> .FillCollectionFromDataTable(dataSet.Tables[2]);

                    appFeeFixInfos = CBO <AppFeeFixInfo> .FillCollectionFromDataTable(dataSet.Tables[3]);

                    pOther_MasterInfo = CBO <Other_MasterInfo> .FillCollectionFromDataTable(dataSet.Tables[4]);

                    pAppDocOtherInfo = CBO <AppDocumentOthersInfo> .FillCollectionFromDataTable(dataSet.Tables[5]);
                }
                return(_A05_Info);
            }
            catch (Exception ex)
            {
                Logger.LogException(ex);
                return(new A05_Info_Export());
            }
        }
Ejemplo n.º 2
0
 public int Deleted(decimal p_app_header_id, string pAppCode, string pLanguage)
 {
     try
     {
         A05_DA _obj_da = new A05_DA();
         return(_obj_da.Deleted(p_app_header_id, pAppCode, pLanguage));
     }
     catch (Exception ex)
     {
         Logger.LogException(ex);
         return(ErrorCode.Error);
     }
 }
Ejemplo n.º 3
0
 public decimal UpDate(A05_Info pInfo)
 {
     try
     {
         A05_DA _obj_da = new A05_DA();
         return(_obj_da.UpDate(pInfo));
     }
     catch (Exception ex)
     {
         Logger.LogException(ex);
         return(ErrorCode.Error);
     }
 }