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# |
---|
IMultiQuery SetEntity( string name, Object val ) |
Visual Basic |
---|
Function SetEntity ( _ name As String, _ val As Object _ ) As IMultiQuery |
Visual C++ |
---|
IMultiQuery^ 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