Пример #1
0
        public PartImport(string mTbl, string sTbl, MDB_DAO md, string execPath)
        {
            string err = "";

            mdbTbl = mTbl;
            sqlTbl = sTbl;
            mdbDao = md;
            sqlDao = new SQL_DAO();

            mCOLS.Clear();
            doneCount = 0;

            err = fileDao.PathInit(execPath);
            Logger.WriteLog("Path Configuration: " + err);
        }
Пример #2
0
        public void DoInit(string srcTbl, string dstTbl, MDB_DAO mdb)
        {
            this.mdbDao = mdb;

            this.sqlTbl = dstTbl;
            this.mdbTbl = srcTbl;

            this.mdbTmp = mdbTbl + "_TMP";

            sqlDao = new SQL_DAO();
        }
Пример #3
0
        public void InitDao(MDB_DAO mdb, string mdbTbl, string sqlTbl,  string execPath)
        {
            this.mdbDao = mdb;

            this.mdbTbl = mdbTbl;
            this.sqlTbl = sqlTbl;

            sqlDao = new SQL_DAO();

            string err = fileDao.PathInit(execPath);
            Logger.WriteLog("Path Configuration: " + err);
        }