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,
	string region
)
Visual Basic
Public Sub New ( _
	clazz As String, _
	usage As EntityCacheUsage, _
	region As String _
)
Visual C++
public:
ClassCacheConfiguration(
	String^ clazz, 
	EntityCacheUsage usage, 
	String^ region
)

Parameters

clazz
Type: System..::..String
The class full name.
usage
Type: NHibernate.Cfg..::..EntityCacheUsage
Cache strategy.
region
Type: System..::..String
The cache region.

Exceptions

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

See Also