Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

CommandDelegate Delegate

Callback delegate for code that operates on a IDbCommand.

[Visual Basic]
Public Delegate Function CommandDelegate( _
   ByVal command As IDbCommand _
public delegate object CommandDelegate(
   IDbCommand command


the ADO.NET command object.


Allows you to execute any number of operations on a single IDbCommand, for example a single ExecuteScalar call or repeated execute calls with varying parameters.

Used internally by AdoTemplate, but also useful for application code. Note that the passed in IDbCommand has been created by the framework and will have its Connection property set and the Transaction property set based on the transaction context.


Namespace: Spring.Data

Assembly: Spring.Data (in Spring.Data.dll)

See Also

Spring.Data Namespace