flq/Simple.Data.Oracle — pull request #8 by SimonH (2012-03-23 14:43:52+00:00)
Title: Fix when using a shared connection without a transaction

Hi Frank,

I've made another small change to the Oracle inserter and a unit test to cover the change. In our appllication we use a shared connection in the adoadapter and an outer TransactionScope object to manage the overall transaction in this case the sequence currval was not working because the inserter created a new connection each time. The inserter now calls the Adapter.CreateConnection() function, which honours the shared connection.

Thanks,

Simon