Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ICommandCallback.DoInCommand Method

Called by AdoTemplate.Execute with an active ADO.NET IDbCommand. The calling code does not need to care about closing the command or the connection, or about handling transactions: this will all be handled by Spring's AdoTemplate

[Visual Basic]
Public Sub DoInCommand( _
   ByVal command As IDbCommand _
object DoInCommand(
   IDbCommand command


An active IDbCommand instance

Return Value

The result object

See Also

ICommandCallback Interface | Spring.Data Namespace