Initializes a new instance of EnumStringType.

Namespace: NHibernate.Type
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
protected EnumStringType(
	Type enumClass,
	int length
)
Visual Basic
Protected Sub New ( _
	enumClass As Type, _
	length As Integer _
)
Visual C++
protected:
EnumStringType(
	Type^ enumClass, 
	int length
)

Parameters

enumClass
Type: System..::..Type
The Type of the Enum.
length
Type: System..::..Int32
The length of the string that can be written to the column.

See Also