/// <summary>A DbSet<T> extension method that expire cache.</summary> /// <param name="dbSet">The dbSet to act on.</param> public static void ExpireCache <T>(this DbSet <T> dbSet) where T : class { QueryCacheManager.ExpireType(typeof(T)); }