HighTechTalks DotNet Forums  

Ado.Net and COM+

Dotnet Framework (Component Services) microsoft.public.dotnet.framework.component_services


Discuss Ado.Net and COM+ in the Dotnet Framework (Component Services) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Barbelith
 
Posts: n/a

Default Ado.Net and COM+ - 07-07-2004 , 07:23 PM








Hello

I'm pretty new to ADO.Net and I'm still a little confused about some
things, I hope I can make myself clear.

I'm writing a data-centric web application using ASP.Net, based on a
SQL Server 2000 database.

I have a table called Person that I'll take as an example of how I
access data.

I build a dataadapter that access a stored procedure and returns the
data into a dataset.

i take the datatable and pass it to a custom business object that i
use as a PersonCollection.

If I want a certain person i query the table and return a datarow that
I wrap inside a custon Person object, with properties that wrap the
datarow fields.

What i want wo know is: how do I update 2 or three of my wrapped
tables inside the same transaction using COM+?
I'm a litte confused about this.
I can update the fields inside the datarows and the write back the
changes using a dataadapter using its Updatestatement.
But as far as I know a COM+ transaction abort will not affect the
datarows rowstate attributes.

I'm not sure I make mayself clear here, I guess I'm just looking for
beste practices to update several datatables inside the same
transaction using COM+, maybe someone knows what I'm talkong about and
can help

Thanks in advance,
PL

Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.