Bind an instance of a mapped persistent class to a named parameter.
Namespace:
NHibernateAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Function SetEntity ( _ name As String, _ val As Object _ ) As IMultiQuery |
C# |
---|
IMultiQuery SetEntity( string name, Object val ) |
Visual C++ |
---|
IMultiQuery^ SetEntity( String^ name, Object^ val ) |
JavaScript |
---|
function setEntity(name, val); |
Parameters
- name
- Type: System..::.String
The name of the parameter
- val
- Type: System..::.Object
A non-null instance of a persistent class