Class EntityCacheWithoutCacheItem<TEntity, TKey>
Inheritance
EntityCacheWithoutCacheItem<TEntity, TKey>
Assembly: Volo.Abp.Ddd.Domain.dll
Syntax
public class EntityCacheWithoutCacheItem<TEntity, TKey> : EntityCacheBase<TEntity, TEntity, TKey>, IEntityCache<TEntity, TKey>, ILocalEventHandler<EntityChangedEventData<TEntity>>, IEventHandler where TEntity : Entity<TKey>
Type Parameters
Name |
Description |
TEntity |
|
TKey |
|
Constructors
EntityCacheWithoutCacheItem(IReadOnlyRepository<TEntity, TKey>, IDistributedCache<TEntity, TKey>, IUnitOfWorkManager)
Declaration
public EntityCacheWithoutCacheItem(IReadOnlyRepository<TEntity, TKey> repository, IDistributedCache<TEntity, TKey> cache, IUnitOfWorkManager unitOfWorkManager)
Parameters
Methods
MapToCacheItem(TEntity?)
Declaration
protected override TEntity? MapToCacheItem(TEntity? entity)
Parameters
Type |
Name |
Description |
TEntity |
entity |
|
Returns
Overrides
Implements
Extension Methods