private void Initialize(MySqlCredentials serverInfo) { Server = serverInfo.ServerUrl; Database = serverInfo.ServerDatabase; User = serverInfo.ServerUser; Password = serverInfo.ServerPassword; Connection = new MySqlConnection(GetConnectionString()); }
public MySql(MySqlCredentials ServerInfo) { Initialize(ServerInfo); }