private static void DbConfiguration_Loaded(object sender, System.Data.Entity.Infrastructure.DependencyResolution.DbConfigurationLoadedEventArgs e)
 {
     e.ReplaceService <DbProviderServices>((s, k) => System.Data.Entity.SqlServer.SqlProviderServices.Instance);
 }
 public void Loaded(System.Data.Entity.Infrastructure.DependencyResolution.DbConfigurationLoadedEventArgs loadedEventArgs, DbConfigurationInterceptionContext interceptionContext)
 {
     loadedEventArgs.ReplaceService <DbProviderServices>(
         (s, _) => new EFCachingProviderServices());
 }