Ejemplo n.º 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
         });
 }
Ejemplo n.º 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();
        }