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) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
void Evict(
	Type persistentClass
)
Visual Basic
Sub Evict ( _
	persistentClass As Type _
)
Visual C++
void Evict(
	Type^ persistentClass
)

Parameters

persistentClass
Type: System..::..Type

[Missing <param name="persistentClass"/> documentation for "M:NHibernate.ISessionFactory.Evict(System.Type)"]

See Also