Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IAdoOperations.Execute(IDbCommandCreator, ICommandCallback) Method

Executes ADO.NET operations on a command object, created by the provided IDbCommandCreator, using the interface based callback IDbCommandCallback.

[Visual Basic]
Public Sub Execute( _
   ByVal commandCreator As IDbCommandCreator, _
   ByVal action As ICommandCallback _
)
[C#]
object Execute(
   IDbCommandCreator commandCreator,
   ICommandCallback action
);

Parameters

commandCreator
The command creator.
action
The callback to execute based on IDbCommand

Return Value

A result object returned by the action or null

See Also

IAdoOperations Interface | Spring.Data Namespace | IAdoOperations.Execute Overload List