Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Transactions
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Miscellaneous
Thread ID:
00828702
Message ID:
00829097
Views:
18
I'm starting the transaction manually, using the parent business object (i.e. boParent.TransactionBegin()). Then I try to call GetDataSet() on a child object of boParent, passing it a SqlCommand object:

obParent.TransactionBegin();
...
...
boChild.GetDataSet(cmd);

The GetDataSet() call ends up calling mmDataAccessSql.FillDataSet(), but I think FillDataSet() then calls an overloaded version that does NOT call "CreateComand(string cmdText, IDbConnection connection)". And it looks like this overloaded version of "CreateCommand" has the necessary code to check to see if there's an existing transaction to use.
Brian Burlingame
Software Engineer/Consultant
Olympic Consulting Group
brian.burlingame@ocgworld.com
Previous
Reply
Map
View

Click here to load this message in the networking platform