Re: Transactions in ADO.Net 2 strongly-typed datsets.
- From: gwolinsky@xxxxxxxxxxxxxxxx
- Date: 4 Apr 2005 10:52:53 -0700
Sahil,
Thank you for your detailed reply. However, I think there may be a
slight misunderstanding as to what we've done so far. The Group object
is NOT in a dataset with a relation to the Group members. They ARE
related in SQL, but not in a dataset. The Group object loads its data
and sets its properties. One of the properties is a single,
strongly-typed datatable of the Group Member data.
When we do an add, the Group object will add the Group and then call
the update to the dataset of members. The same would be true of
update. For delete, our db cascading will take care of deleting all
members if a group is deleted.
During these procedures, I want to wrap the object's add/update/delete
steps in a single transaction. One of these steps is the .UPDATE call
to the dataset. Is this possible? Am I being clear or just confusing
the issue more? :o)
Thanks in advance,
Glen
.
- Follow-Ups:
- Re: Transactions in ADO.Net 2 strongly-typed datsets.
- From: Sahil Malik [MVP]
- Re: Transactions in ADO.Net 2 strongly-typed datsets.
- References:
- Transactions in ADO.Net 2 strongly-typed datsets.
- From: gwolinsky
- Re: Transactions in ADO.Net 2 strongly-typed datsets.
- From: Sahil Malik [MVP]
- Transactions in ADO.Net 2 strongly-typed datsets.
- Prev by Date: Re: Multiple DataTables in Dataset
- Next by Date: Dataset Merge Question
- Previous by thread: Re: Transactions in ADO.Net 2 strongly-typed datsets.
- Next by thread: Re: Transactions in ADO.Net 2 strongly-typed datsets.
- Index(es):