예제 #1
0
 public bool IsRuntimeConnectionAndSetupGood()
 {
     if (_isConnectionSetupGood.HasValue && _isConnectionSetupGood.Value)
     {
         return(true);
     }
     _isConnectionSetupGood = _setupRepository.IsConnectionPossible();
     if (!_isConnectionSetupGood.Value)
     {
         return(false);
     }
     _isConnectionSetupGood = _setupRepository.IsDatabaseSetup();
     return(_isConnectionSetupGood.Value);
 }
예제 #2
0
 public bool IsConnectionPossible()
 {
     return(_setupRepository.IsConnectionPossible());
 }