Initializes a new instance of EnumStringType.
Namespace:
NHibernate.TypeAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Protected Sub New ( _ enumClass As Type, _ length As Integer _ ) |
C# |
---|
protected EnumStringType( Type enumClass, int length ) |
Visual C++ |
---|
protected: EnumStringType( Type^ enumClass, int length ) |
JavaScript |
---|
NHibernate.Type.EnumStringType = function(enumClass, 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.