Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

TypedDataSetUtils.ApplyConnectionAndTx(Object, IDbCommand) Method

Applies the connection and tx to the provided typed dataset.

[Visual Basic]
Public Overloads Shared Sub ApplyConnectionAndTx( _
   ByVal typedDataSetAdapter As Object, _
   ByVal sourceCommand As IDbCommand _
)
[C#]
public static void ApplyConnectionAndTx(
   object typedDataSetAdapter,
   IDbCommand sourceCommand
);

Parameters

typedDataSetAdapter
The typed data set adapter.
sourceCommand
The IDbCommand managed by Spring and set with the connection/transaction of the current Spring transaction scope.

Remarks

Generated dataset to not inherit from a common base class so that we must pass in the generic object type.

See Also

TypedDataSetUtils Class | Spring.Data.Support Namespace | TypedDataSetUtils.ApplyConnectionAndTx Overload List