Bind an instance of a persistent enumeration class to an indexed parameter
using an NHibernate PersistentEnumType.
Namespace: NHibernateAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
IQuery SetEnum( int position, Enum val ) |
Visual Basic |
---|
Function SetEnum ( _ position As Integer, _ val As Enum _ ) As IQuery |
Visual C++ |
---|
IQuery^ SetEnum( int position, Enum^ val ) |
Parameters
- position
- Type: System..::..Int32
The position of the parameter in the query string, numbered from 0
- val
- Type: System..::..Enum
A non-null instance of a persistent enumeration
Return Value
[Missing <returns> documentation for "M:NHibernate.IQuery.SetEnum(System.Int32,System.Enum)"]