Bind a value to a named query parameter, guessing the NHibernate IType
from the class of the given object.
Namespace: NHibernateAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
IMultiQuery SetParameter( string name, Object val ) |
Visual Basic |
---|
Function SetParameter ( _ name As String, _ val As Object _ ) As IMultiQuery |
Visual C++ |
---|
IMultiQuery^ SetParameter( String^ name, Object^ val ) |
Parameters
- name
- Type: System..::..String
The name of the parameter
- val
- Type: System..::..Object
The non-null parameter value