TwoLevelCacheInvalidationExtensions.InvalidateOnCommit method (1 of 3)
Invalidates cached items on commit for specified row type and any related field types specified using TwoLevelCached attributes on the row type.
public static void InvalidateOnCommit(this ITwoLevelCache cache, IUnitOfWork uow, IRow row)
| parameter |
description |
| cache |
Cache |
| uow |
Unit of work |
| row |
Row type |
Exceptions
| exception |
condition |
| ArgumentNullException |
row is null. |
See Also
TwoLevelCacheInvalidationExtensions.InvalidateOnCommit method (2 of 3)
Invalidates cached items related to fields class group key and any related fields types specified using TwoLevelCached attributes on the row type.
public static void InvalidateOnCommit(this ITwoLevelCache cache, IUnitOfWork uow,
RowFieldsBase fields)
| parameter |
description |
| cache |
Cache |
| uow |
Unit of work |
| fields |
Fields type |
Exceptions
| exception |
condition |
| ArgumentNullException |
fields is null. |
See Also
TwoLevelCacheInvalidationExtensions.InvalidateOnCommit method (3 of 3)
Invalidates cached items related to a group key when the unit of work commits.
public static void InvalidateOnCommit(this ITwoLevelCache cache, IUnitOfWork uow, string groupKey)
| parameter |
description |
| cache |
Cache |
| uow |
Unit of work |
| groupKey |
Group key |
Exceptions
| exception |
condition |
| ArgumentNullException |
cache is null. |
See Also