Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IDbCommandCallback(T).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 IDbCommandCallback( _
   ByVal command As IDbCommand _
T IDbCommandCallback(
   IDbCommand command


An active IDbCommand instance

Return Value

The result object

See Also

IDbCommandCallback<T> Interface | Spring.Data.Generic Namespace