Previous Docs Version

The documentation you are viewing is for a previous version of the Vendr product. Click here to jump to the current stable version.

TransactionalEntityStateCache

API reference for TransactionalEntityStateCache in Vendr, the eCommerce solution for Umbraco v8+

TransactionalEntityStateCache

public class TransactionalEntityStateCache : IDisposable, IEntityStateCache

Inheritance

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()

Edit this page on GitHub

Site + logo design © 2025 Outfield Digital Ltd. Content contributions licensed under MIT.
Vendr® is a Registered Trademark of Outfield Digital Ltd.