Initializes a new instance of the ClassCacheConfiguration class.

Namespace: NHibernate.Cfg.ConfigurationSchema
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public ClassCacheConfiguration(
	string clazz,
	EntityCacheUsage usage,
	ClassCacheInclude include
)
Visual Basic
Public Sub New ( _
	clazz As String, _
	usage As EntityCacheUsage, _
	include As ClassCacheInclude _
)
Visual C++
public:
ClassCacheConfiguration(
	String^ clazz, 
	EntityCacheUsage usage, 
	ClassCacheInclude include
)

Parameters

clazz
Type: System..::..String
The class full name.
usage
Type: NHibernate.Cfg..::..EntityCacheUsage
Cache strategy.
include
Type: NHibernate.Cfg.ConfigurationSchema..::..ClassCacheInclude
Values for class-cache include.

Exceptions

ExceptionCondition
System..::..ArgumentExceptionWhen clazz is null or empty.

See Also