Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AdoTemplate.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 NotOverridable Overloads Sub Execute( _
   ByVal commandCreator As IDbCommandCreator, _
   ByVal action As ICommandCallback _
) _
    Implements IAdoOperations.Execute
[C#]
public 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

Implements

IAdoOperations.Execute

See Also

AdoTemplate Class | Spring.Data.Core Namespace | AdoTemplate.Execute Overload List