Initializes a new instance of the ClassCacheConfiguration class.
Namespace: NHibernate.Cfg.ConfigurationSchemaAssembly: 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
Exception | Condition |
---|---|
System..::..ArgumentException | When clazz is null or empty. |