Called after an item has been inserted (after the transaction completes), instead of calling release().

Namespace: NHibernate.Cache
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
bool AfterInsert(
	CacheKey key,
	Object value,
	Object version
)
Visual Basic
Function AfterInsert ( _
	key As CacheKey, _
	value As Object, _
	version As Object _
) As Boolean
Visual C++
bool AfterInsert(
	CacheKey^ key, 
	Object^ value, 
	Object^ version
)

Parameters

key
Type: NHibernate.Cache..::..CacheKey

[Missing <param name="key"/> documentation for "M:NHibernate.Cache.ICacheConcurrencyStrategy.AfterInsert(NHibernate.Cache.CacheKey,System.Object,System.Object)"]

value
Type: System..::..Object

[Missing <param name="value"/> documentation for "M:NHibernate.Cache.ICacheConcurrencyStrategy.AfterInsert(NHibernate.Cache.CacheKey,System.Object,System.Object)"]

version
Type: System..::..Object

[Missing <param name="version"/> documentation for "M:NHibernate.Cache.ICacheConcurrencyStrategy.AfterInsert(NHibernate.Cache.CacheKey,System.Object,System.Object)"]

Return Value

[Missing <returns> documentation for "M:NHibernate.Cache.ICacheConcurrencyStrategy.AfterInsert(NHibernate.Cache.CacheKey,System.Object,System.Object)"]

Remarks

This method is used by "asynchronous" concurrency strategies.

See Also