Class UnitOfWorkExtensions
Inheritance
UnitOfWorkExtensions
Assembly: Volo.Abp.Uow.dll
Syntax
public static class UnitOfWorkExtensions
Methods
AddItem<TValue>(IUnitOfWork, string, TValue)
Declaration
public static void AddItem<TValue>(this IUnitOfWork unitOfWork, string key, TValue value) where TValue : class
Parameters
Type Parameters
GetItemOrDefault<TValue>(IUnitOfWork, string)
Declaration
public static TValue GetItemOrDefault<TValue>(this IUnitOfWork unitOfWork, string key) where TValue : class
Parameters
Returns
Type Parameters
GetOrAddItem<TValue>(IUnitOfWork, string, Func<string, TValue>)
Declaration
public static TValue GetOrAddItem<TValue>(this IUnitOfWork unitOfWork, string key, Func<string, TValue> factory) where TValue : class
Parameters
Returns
Type Parameters
IsReservedFor(IUnitOfWork, string)
Declaration
public static bool IsReservedFor(this IUnitOfWork unitOfWork, string reservationName)
Parameters
Returns
RemoveItem(IUnitOfWork, string)
Declaration
public static void RemoveItem(this IUnitOfWork unitOfWork, string key)
Parameters