Beispiel #1
0
 public bool DatabaseExists()
 {
     try
     {
         using (var db = new TrainingDBContext())
         {
             return(db.DatabaseExists());
         }
     }
     catch (Exception)
     {
         throw new Exception("No Connection to the Stage Database.");
     }
 }