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

Parameters

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

Exceptions

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

See Also