Bind an instance of a persistent enumeration class to a named parameter
using an NHibernate PersistentEnumType.
Namespace:
NHibernateAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Function SetEnum ( _ name As String, _ val As Enum _ ) As IMultiQuery |
C# |
---|
IMultiQuery SetEnum( string name, Enum val ) |
Visual C++ |
---|
IMultiQuery^ SetEnum( String^ name, Enum^ val ) |
JavaScript |
---|
function setEnum(name, val); |
Parameters
- name
- Type: System..::.String
The name of the parameter
- val
- Type: System..::.Enum
A non-null instance of a persistent enumeration