|
|
|
|
@ -1,6 +1,7 @@
|
|
|
|
|
using Volo.Abp.Caching;
|
|
|
|
|
using Volo.Abp.Domain.Repositories;
|
|
|
|
|
using Volo.Abp.ObjectMapping;
|
|
|
|
|
using Volo.Abp.Uow;
|
|
|
|
|
|
|
|
|
|
namespace Volo.Abp.Domain.Entities.Caching;
|
|
|
|
|
|
|
|
|
|
@ -12,11 +13,10 @@ public class EntityCacheWithObjectMapperContext<TObjectMapperContext, TEntity, T
|
|
|
|
|
public EntityCacheWithObjectMapperContext(
|
|
|
|
|
IReadOnlyRepository<TEntity, TKey> repository,
|
|
|
|
|
IDistributedCache<TEntityCacheItem, TKey> cache,
|
|
|
|
|
IObjectMapper<TObjectMapperContext> objectMapper) // Intentionally injected with TContext
|
|
|
|
|
: base(
|
|
|
|
|
repository,
|
|
|
|
|
cache,
|
|
|
|
|
objectMapper)
|
|
|
|
|
IUnitOfWorkManager unitOfWorkManager,
|
|
|
|
|
IObjectMapper objectMapper)// Intentionally injected with TContext
|
|
|
|
|
: base(repository, cache, unitOfWorkManager, objectMapper)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|