Convert a string to EntityCacheUsage.

Namespace: NHibernate.Cfg
Assembly: 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

ExceptionCondition
NHibernate.Cfg..::..HibernateConfigExceptionIf the values is invalid.

See Also