Esempio n. 1
0
        //cMessageBox.Show(ex.Message);onstructor
        //public VsDbDelete(string server, string user, string pass, string Dbprima, string Dbsecon, string hostIp, string fileRootPath)
        //{
        //    mysqlServer = server;
        //    mysqlUser = user;
        //    mysqlPass = pass;
        //    primaryDbName = hostIp;
        //    primaryDbName = Dbprima;
        //    secondaryDbName = Dbsecon;

        //    connString = getConnString(server, user, pass, "", false);
        //    mainDbConnString = getConnString(server, user, pass, Dbprima, false);
        //    clientDbConnString = getConnString(server, user, pass, Dbsecon, false);



        //    VsDbConnection.setConnectionString(mainDbConnString, clientDbConnString);

        //    fileManage = new FileManage(10000, 6);//ÃÍź«éÓ ÃͺÅÐÊÔºÇÔ Ë¡Ãͺ
        //}

        public VsDbDelete(string mainConStr, string clientConStr)
        {
            mainDbConnString   = mainConStr;
            clientDbConnString = clientConStr;
            VsDbConnection.setConnectionString(mainDbConnString, clientDbConnString);

            fileManage = new FileManage(10000, 6);//ÃÍź«éÓ ÃͺÅÐÊÔºÇÔ Ë¡Ãͺ
            // setMsg = new setText;
        }
Esempio n. 2
0
        //cMessageBox.Show(ex.Message);onstructor
        //public VsDbDelete(string server, string user, string pass, string Dbprima, string Dbsecon, string hostIp, string fileRootPath)
        //{
        //    mysqlServer = server;
        //    mysqlUser = user;
        //    mysqlPass = pass;
        //    primaryDbName = hostIp;
        //    primaryDbName = Dbprima;
        //    secondaryDbName = Dbsecon;

        //    connString = getConnString(server, user, pass, "", false);
        //    mainDbConnString = getConnString(server, user, pass, Dbprima, false);
        //    clientDbConnString = getConnString(server, user, pass, Dbsecon, false);



        //    VsDbConnection.setConnectionString(mainDbConnString, clientDbConnString);

        //    fileManage = new FileManage(10000, 6);//ÃÍź«éÓ ÃͺÅÐÊÔºÇÔ Ë¡Ãͺ
        //}

        public VsDbDelete(string mainConStr, string clientConStr)
        {
            mainDbConnString = mainConStr;
            clientDbConnString = clientConStr;
            VsDbConnection.setConnectionString(mainDbConnString, clientDbConnString);

            fileManage = new FileManage(10000, 6);//ÃÍź«éÓ ÃͺÅÐÊÔºÇÔ Ë¡Ãͺ
            // setMsg = new setText;
        }