This repository contains implementations of the Microsoft.Extensions.Caching.Abstractions package.
This implementation of the Microsoft.Extensions.Caching.Abstractions can be used with Entity Framework Core.
public void ConfigureServices(IServiceCollection services)
{
services.AddDbContext<YourDbContext>(builder => ...);
services.AddDistributedEntityFrameworkCache<TestDbContext>(options => {
options.SystemClock = new SystemClock();
...
});
}