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