Exemple #1
0
        public DataTable PETC0302I_CSVExport1(T_NyuukinMeisai_Entity NyuukinMeisai_data, string expname)
        {
            Dictionary <string, string> dic = new Dictionary <string, string>();

            dic.Add("@OperatorCD", NyuukinMeisai_data.OperatorCD);
            return(SelectData(dic, expname));
        }
Exemple #2
0
        public bool T_NyuukinMeisai_Delete(T_NyuukinMeisai_Entity NyuukinMeisai_data)
        {
            Dictionary <string, string> dic = new Dictionary <string, string>();

            dic.Add("@OperatorCD", NyuukinMeisai_data.OperatorCD);

            return(InsertUpdateDeleteData(dic, "T_NyuukinMeisai_Delete"));
        }
 public bool CheckExistName1_0309I(T_NyuukinMeisai_Entity NyuukinMeisai_data, L_Log_Entity log_data, string twobytes)
 {
     if (NyuukinMeisaiDL.CheckExistName1_0309I(NyuukinMeisai_data, log_data, twobytes).Rows.Count > 0)
     {
         return(true);
     }
     return(false);
 }
Exemple #4
0
        public DataTable PETC0308I_Detail_SELECT(T_NyuukinMeisai_Entity NyuukinMeisai_data)
        {
            Dictionary <string, string> dic = new Dictionary <string, string>();

            dic.Add("@OperatorCD", NyuukinMeisai_data.OperatorCD);

            return(SelectData(dic, "PETC0308I_Detail_SELECT"));
        }
 public bool PETC0309I_Insert(T_NyuukinMeisai_Entity NyuukinMeisai_data, L_Log_Entity log_data, string twobytes)
 {
     if (NyuukinMeisaiDL.PETC0309I_Insert(NyuukinMeisai_data, log_data, twobytes))
     {
         return(true);
     }
     return(false);
 }
Exemple #6
0
        public DataTable Check_Motonames_MF(T_NyuukinMeisai_Entity NyuukinMeisai_data)
        {
            Dictionary <string, string> dic = new Dictionary <string, string>();

            dic.Add("@OperatorCD", NyuukinMeisai_data.OperatorCD);
            dic.Add("@xml", NyuukinMeisai_data.xml);

            return(SelectData(dic, "Check_Motonames_MF"));
        }
Exemple #7
0
        public bool T_NyuukinMeisai_Insert_MF(T_NyuukinMeisai_Entity NyuukinMeisai_data)
        {
            Dictionary <string, string> dic = new Dictionary <string, string>();

            dic.Add("@OperatorCD", NyuukinMeisai_data.OperatorCD);
            dic.Add("@date", NyuukinMeisai_data.InsertDatetime);
            dic.Add("@XML", NyuukinMeisai_data.xml);

            return(InsertUpdateDeleteData(dic, "T_NyuukinMeisai_Insert_MF"));
        }
Exemple #8
0
        public bool PETC0309I_Insert(T_NyuukinMeisai_Entity NyuukinMeisai_data, L_Log_Entity lle, string twobytes)
        {
            Dictionary <string, string> dic = new Dictionary <string, string>();

            dic.Add("@OperatorCD", lle.InsertOperator);
            dic.Add("@date", lle.InsertDateTime);
            dic.Add("@Filename", twobytes);
            dic.Add("@XML", NyuukinMeisai_data.xml);

            return(InsertUpdateDeleteData(dic, "PETC0309I_Insert"));
        }
Exemple #9
0
        public DataTable CheckExistName1_0303I(T_NyuukinMeisai_Entity NyuukinMeisai_data, L_Log_Entity lle, string twobytes)
        {
            Dictionary <string, string> dic = new Dictionary <string, string>();

            dic.Add("@OperatorCD", lle.InsertOperator);
            dic.Add("@date", lle.InsertDateTime);
            dic.Add("@Filename", twobytes);
            dic.Add("@XML", NyuukinMeisai_data.xml);

            return(SelectData(dic, "CheckExistName1_0303I"));
        }
 public bool PETC0302I_Insert(T_NyuukinMeisai_Entity NyuukinMeisai_data, T_Tesuuryou_Entity Tessuryou_data, L_Log_Entity log_data)
 {
     if (NyuukinMeisaiDL.T_NyuukinMeisai_Insert(NyuukinMeisai_data))
     {
         if (TessuryouDL.T_Tesuuryou_Insert(Tessuryou_data))
         {
             if (LogDL.L_Log_Insert(log_data))
             {
                 return(true);
             }
         }
     }
     return(false);
 }
Exemple #11
0
        public bool T_NyuukinMeisai_T_Tesuuryou_Delete(T_NyuukinMeisai_Entity NyuukinMeisai_data, T_Tesuuryou_Entity Tessuryou_data, L_Log_Entity log_data)
        {
            NyuukinMeisaiDL.StartTransaction();
            if (NyuukinMeisaiDL.T_NyuukinMeisai_Tesuuryou_Delete(log_data))
            {
                if (LogDL.L_Log_Insert(log_data))
                {
                    NyuukinMeisaiDL.CommitTransaction();

                    return(true);
                }
            }
            return(false);
        }
Exemple #12
0
        private async void PETC0303I_Import_Load(object sender, EventArgs e)
        {
            baseBL             = new Base_BL();
            NyuukinMeisai_data = new T_NyuukinMeisai_Entity();
            PETC30303I         = new PETC0303I_BL();
            cmf = new CommonFunctions();
            //  psks0103ibl = new PSKS0103I_BL();
            btnOK.Enabled = false;

            if (PETC30303I.PETC0303IDelete(LLogEntity))
            {
                for (int i = 0; i < dgv1.Rows.Count; i++)
                {
                    await Insert(i);
                }
            }

            btnOK.Enabled = true;
        }
 public DataTable PETC0302I_CSVExport1(T_NyuukinMeisai_Entity tnu, string exp)
 {
     return(NyuukinMeisaiDL.PETC0302I_CSVExport1(tnu, exp));
 }
 public DataTable PETC0302I_Detail_SELECT(T_NyuukinMeisai_Entity NyuukinMeisai_data)
 {
     return(NyuukinMeisaiDL.PETC0302I_Detail_SELECT(NyuukinMeisai_data));
 }
 public bool Check_Motonames(T_NyuukinMeisai_Entity NyuukinMeisai_data)
 {
     return(NyuukinMeisaiDL.Check_Motonames(NyuukinMeisai_data).Rows.Count > 0 ? true : false);
 }