示例#1
0
        public static void ImportLog(string tableID)
        {
            Base_DL bdl = new Base_DL();
            Dictionary <string, string> dic = new Dictionary <string, string>();

            dic.Add("@TableID", tableID);
            bdl.StartTransaction();
            if (bdl.InsertUpdateDeleteData(dic, "Sugoraku_Shohinkanri_Import_Log"))
            {
                bdl.CommitTransaction();
            }
        }
        private bool ImportProcess(string tableID)
        {
            Dictionary <string, string> dic = new Dictionary <string, string>();

            dic.Add("@TableID", tableID);
            bdl.StartTransaction();
            if (bdl.InsertUpdateDeleteData(dic, "ImportProcess"))
            {
                bdl.CommitTransaction();
                return(true);
            }
            return(false);
        }