TransactionalEntityStateCache
public class TransactionalEntityStateCache : IDisposable, IEntityStateCache
Inheritance
- interface IEntityStateCache
Namespace
Constructors
TransactionalEntityStateCache
public TransactionalEntityStateCache(ICache systemCache, ICacheFactory inMemoryCacheFactory,
ILogger logger)
Methods
CommitTransaction
public void CommitTransaction()
Dispose
public void Dispose()
GetStateCache<T> (1 of 2)
public IConcurrentDictionary<Guid, Lazy<T>> GetStateCache<T>(string cacheKey)
where T : EntityStateBase
GetStateCache<T> (2 of 2)
public IConcurrentDictionary<Guid, Lazy<T>> GetStateCache<T>(string cacheKey,
Func<IConcurrentDictionary<Guid, Lazy<T>>> factory)
where T : EntityStateBase
RollbackTransaction
public void RollbackTransaction()