G
gwolinsky
Here's the scenario: I have a custom object that represents a group in
our law firm. For each group, there are many members of that group.
Now, the group object exposes a property that is a strongly-typed
datatable of the member records. The UI programmer will add/delete
records from this datatable as the user adjusts the members of the
group.
Then, the Update method of the group object will not only update it's
normal properties (name, description, etc.) but will call the update
method of the adapter for the datatable to write the changes to the
members.
My question as a ADO.Net 2 newbie is this: How to I wrap the group
object changes and the changes written by the update in the datatable
in the same transaction?
I knew how to do this in ADO.Net 1.x, but the properties exposing the
insert, update, delete command objects in the datatable are not there.
What am I missing?
Any help would be GREATLY appreciated.
Sincerely,
Glen Wolinksy
our law firm. For each group, there are many members of that group.
Now, the group object exposes a property that is a strongly-typed
datatable of the member records. The UI programmer will add/delete
records from this datatable as the user adjusts the members of the
group.
Then, the Update method of the group object will not only update it's
normal properties (name, description, etc.) but will call the update
method of the adapter for the datatable to write the changes to the
members.
My question as a ADO.Net 2 newbie is this: How to I wrap the group
object changes and the changes written by the update in the datatable
in the same transaction?
I knew how to do this in ADO.Net 1.x, but the properties exposing the
insert, update, delete command objects in the datatable are not there.
What am I missing?
Any help would be GREATLY appreciated.
Sincerely,
Glen Wolinksy