Convert a string to EntityCacheUsage.
Namespace: NHibernate.CfgAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
| C# |
|---|
public static EntityCacheUsage Parse( string value ) |
| Visual Basic |
|---|
Public Shared Function Parse ( _ value As String _ ) As EntityCacheUsage |
| Visual C++ |
|---|
public: static EntityCacheUsage Parse( String^ value ) |
Parameters
- value
- Type: System..::..String
The string that represent EntityCacheUsage.
Return Value
The value converted to EntityCacheUsage.
Remarks
See EntityCacheUsage for allowed values.
Exceptions
| Exception | Condition |
|---|---|
| NHibernate.Cfg..::..HibernateConfigException | If the values is invalid. |