Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ICommandCallback(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 ICommandCallback( _
   ByVal command As DbCommand _
)
[C#]
T ICommandCallback(
   DbCommand command
);

Parameters

command
An active IDbCommand instance

Return Value

The result object

See Also

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