Evict all entries from the process-level cache. This method occurs outside of any transaction; it performs an immediate "hard" remove, so does not respect any transaction isolation semantics of the usage strategy. Use with care.

Namespace:  NHibernate
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
Sub EvictCollection ( _
	roleName As String _
)
C#
void EvictCollection(
	string roleName
)
Visual C++
void EvictCollection(
	String^ roleName
)
JavaScript
function evictCollection(roleName);

Parameters

roleName
Type: System..::.String

See Also