Bind the appropriate value into the given command.
Namespace: NHibernate.SqlCommandAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public void Bind( IDbCommand command, ISessionImplementor session ) |
Visual Basic |
---|
Public Sub Bind ( _ command As IDbCommand, _ session As ISessionImplementor _ ) |
Visual C++ |
---|
public: virtual void Bind( IDbCommand^ command, ISessionImplementor^ session ) sealed |
Parameters
- command
- Type: System.Data..::..IDbCommand
The command into which the value should be bound.
- session
- Type: NHibernate.Engine..::..ISessionImplementor
The session against which the current execution is occuring.
Implements
ISqlCommand..::..Bind(IDbCommand, ISessionImplementor)Remarks
Use this method when the command contains just 'this' instance of ISqlCommand.
Use the overload Bind(IDbCommand, IList<(Of <<'(Parameter>)>>), Int32, ISessionImplementor) when the command contains more instances of ISqlCommand.