Make any adjustments to each IDbCommand object before it is added to the batcher.

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

Syntax

C#
void AdjustCommand(
	IDbCommand command
)
Visual Basic
Sub AdjustCommand ( _
	command As IDbCommand _
)
Visual C++
void AdjustCommand(
	IDbCommand^ command
)

Parameters

command
Type: System.Data..::..IDbCommand
The command.

Remarks

This method should be executed before add each single command to the batcher. If you have to adjust parameters values/type (when the command is full filled) this is a good place where do it.

See Also