Пример #1
0
        public static bool Init(string host, string user, string password, string db)
        {
            var connectInfo = new SQLConnectionInformation
            {
                host     = host,
                username = user,
                password = password,
                database = db,
            };

            connectionManager = new SQLConnectionManager(connectInfo, 10);
            return(true);
        }
 public SynchronizationManager(string servername)
 {
     usdm  = new UserDataManager();
     sqlcm = new SQLConnectionManager(servername);
     tm    = new ThreadManager();
 }