Evict all entries from the second-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) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
void EvictEntity(
	string entityName
)
Visual Basic
Sub EvictEntity ( _
	entityName As String _
)
Visual C++
void EvictEntity(
	String^ entityName
)

Parameters

entityName
Type: System..::..String

[Missing <param name="entityName"/> documentation for "M:NHibernate.ISessionFactory.EvictEntity(System.String)"]

See Also