G
Guest
Using fw 2.0....
Any ideas on how (if at all) to use a single transaction scope against 2 (or
more) database connections..?? My app interacts with SqlServer, and Oracle,
using OleDB model for DB i/o.
I have read (a little) on System.Transaction (TransactionScope), but not
seeing anything that specifically suggests I can set scope across multple
connection objects.
Scenario is as follows:
Database #1 (Sql Server) has a View of records. The app traverses the View,
and inserts records to other databases (possibly more than one). When the
app is finished with the inserts to the traget DBs, the app then deletes the
record from the unerlying table(s) which defined the View, such that the item
from the View is not processed a second time into the target DB's.
Thanks in advance....
Any ideas on how (if at all) to use a single transaction scope against 2 (or
more) database connections..?? My app interacts with SqlServer, and Oracle,
using OleDB model for DB i/o.
I have read (a little) on System.Transaction (TransactionScope), but not
seeing anything that specifically suggests I can set scope across multple
connection objects.
Scenario is as follows:
Database #1 (Sql Server) has a View of records. The app traverses the View,
and inserts records to other databases (possibly more than one). When the
app is finished with the inserts to the traget DBs, the app then deletes the
record from the unerlying table(s) which defined the View, such that the item
from the View is not processed a second time into the target DB's.
Thanks in advance....