Bind an instance of a mapped persistent class to a named parameter.
            
Namespace: NHibernateAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
| C# | 
|---|
IQuery SetEntity( string name, Object val )  | 
| Visual Basic | 
|---|
Function SetEntity ( _ name As String, _ val As Object _ ) As IQuery  | 
| Visual C++ | 
|---|
IQuery^ SetEntity( String^ name, Object^ val )  | 
Parameters
- name
 - Type: System..::..String
The name of the parameter 
- val
 - Type: System..::..Object
A non-null instance of a persistent class 
Return Value
[Missing <returns> documentation for "M:NHibernate.IQuery.SetEntity(System.String,System.Object)"]