Bind the appropriate value into the given command.

Namespace: NHibernate.SqlCommand
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public void Bind(
	IDbCommand command,
	IList<Parameter> commandQueryParametersList,
	int singleSqlParametersOffset,
	ISessionImplementor session
)
Visual Basic
Public Sub Bind ( _
	command As IDbCommand, _
	commandQueryParametersList As IList(Of Parameter), _
	singleSqlParametersOffset As Integer, _
	session As ISessionImplementor _
)
Visual C++
public:
virtual void Bind(
	IDbCommand^ command, 
	IList<Parameter^>^ commandQueryParametersList, 
	int singleSqlParametersOffset, 
	ISessionImplementor^ session
) sealed

Parameters

command
Type: System.Data..::..IDbCommand
The command into which the value should be bound.
commandQueryParametersList
Type: System.Collections.Generic..::..IList<(Of <(<'Parameter>)>)>
The parameter-list of the whole query of the command.
singleSqlParametersOffset
Type: System..::..Int32
The offset from where start the list of IDataParameter, in the given command, for the this SqlCommandImpl.
session
Type: NHibernate.Engine..::..ISessionImplementor
The session against which the current execution is occuring.

Implements

ISqlCommand..::..Bind(IDbCommand, IList<(Of <<'(Parameter>)>>), Int32, ISessionImplementor)

See Also