public ConfigureDataProviderViewModel Initialize()
        {
            _databaseConnector.InitializeWith(DataProviderInfo);
            try
            {
                if (_databaseSettings.ProviderIsAvailable(DataProviderInfo))
                {
                    var serverConnectInfo =
                        new DatabaseConnectionInfo(_databaseSettings.GetServerConnectStringFor(DataProviderInfo));
                    return(InititializeWith(
                               serverConnectInfo.Server, serverConnectInfo.User, serverConnectInfo.Password));
                }
            }
            catch (Exception excep)
            {
                Log.Error(excep);
            }

            return(InitializeWithDefaults());
        }
 void ConnectToServerOfSelectedDataProvider()
 {
     _databaseConnector
     .InitializeWith(SelectedDataProviderInfo)
     .ConnectToServer();
 }