Execute the given actionToDo for each command of the resultset.
Namespace: NHibernate.DriverAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
protected void ForEachSqlCommand( Action<ISqlCommand, int> actionToDo ) |
Visual Basic |
---|
Protected Sub ForEachSqlCommand ( _ actionToDo As Action(Of ISqlCommand, Integer) _ ) |
Visual C++ |
---|
protected: void ForEachSqlCommand( Action<ISqlCommand^, int>^ actionToDo ) |
Parameters
- actionToDo
- Type: System..::..Action<(Of <(<'ISqlCommand, Int32>)>)>
The action to perform where the first parameter is the ISqlCommand and the second parameter is the parameters offset of the ISqlCommand.