Bind a value to a named query parameter
Namespace: NHibernateAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
IDetachedQuery SetParameter( string name, Object val, IType type ) |
Visual Basic |
---|
Function SetParameter ( _ name As String, _ val As Object, _ type As IType _ ) As IDetachedQuery |
Visual C++ |
---|
IDetachedQuery^ SetParameter( String^ name, Object^ val, IType^ type ) |
Parameters
- name
- Type: System..::..String
The name of the parameter
- val
- Type: System..::..Object
The possibly null parameter value
- type
- Type: NHibernate.Type..::..IType
The NHibernate IType.
Return Value
[Missing <returns> documentation for "M:NHibernate.IDetachedQuery.SetParameter(System.String,System.Object,NHibernate.Type.IType)"]