Allows multiple entity classes / collection roles to be stored in the same cache region. Also allows for composite keys which do not properly implement equals()/hashCode().

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

Syntax

Visual Basic (Declaration)
<SerializableAttribute> _
Public Class CacheKey
C#
[SerializableAttribute]
public class CacheKey
Visual C++
[SerializableAttribute]
public ref class CacheKey
JavaScript
NHibernate.Cache.CacheKey = function();

Type.createClass(
	'NHibernate.Cache.CacheKey');

Inheritance Hierarchy

System..::.Object
  NHibernate.Cache..::.CacheKey

See Also