Bind an instance of a mapped persistent class to an indexed parameter.
Namespace: NHibernateAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
IDetachedQuery SetEntity( int position, Object val ) |
Visual Basic |
---|
Function SetEntity ( _ position As Integer, _ val As Object _ ) As IDetachedQuery |
Visual C++ |
---|
IDetachedQuery^ SetEntity( int position, Object^ val ) |
Parameters
- position
- Type: System..::..Int32
Position of the parameter in the query string, numbered from 0
- val
- Type: System..::..Object
A non-null instance of a persistent class
Return Value
[Missing <returns> documentation for "M:NHibernate.IDetachedQuery.SetEntity(System.Int32,System.Object)"]