private void Button_Click(object sender, RoutedEventArgs e) { var cacheContext = new CacheContext(); cacheContext.DeleteDatabase(); cacheContext.CreateDatabase(); }