Пример #1
0
 public UserManager()
 {
     _sqlData = new MySQL.MySQLEngine(
         new MySQL.MySQLConfig.SQLConnect()
         {
             Database = MySQL.MySQLConfig.SQL_DATABASE,
             Password = MySQL.MySQLConfig.SQL_PASSWORD,
             Server = MySQL.MySQLConfig.SQL_SERVER,
             Username = MySQL.MySQLConfig.SQL_USERNAME
         });
 }
Пример #2
0
        private DataPreload()
        {
            _sqlData = new MySQL.MySQLEngine(
                new MySQL.MySQLConfig.SQLConnect()
                {
                    Database = MySQL.MySQLConfig.SQL_DATABASE,
                    Password = MySQL.MySQLConfig.SQL_PASSWORD,
                    Server = MySQL.MySQLConfig.SQL_SERVER,
                    Username = MySQL.MySQLConfig.SQL_USERNAME
                });

            PopulateGeoData();
        }