Ejemplo n.º 1
0
 /// <summary>A DbSet&lt;T&gt; 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));
 }