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

Syntax

C#
[SerializableAttribute]
public class CacheKey
Visual Basic
<SerializableAttribute> _
Public Class CacheKey
Visual C++
[SerializableAttribute]
public ref class CacheKey

Inheritance Hierarchy

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

See Also