D
Dmitry Duginov
I have multiple related tables in the database which contains customer
accounts. I'm loading single account data from those tables into multiple
DataTables within the same DataSet. Any changes can be made with the data:
records can be added, deleted, edited. Because of PK/FK constraints it's
clear that the changes must be posted back to the database in specific order
to avoid RI violations. I'm using stored procs for UpdateCommand,
DeleteCommand, SelectCommand.
What are the best practices to achieve this using as much built-in ADO.NET
intelligence as possible?
accounts. I'm loading single account data from those tables into multiple
DataTables within the same DataSet. Any changes can be made with the data:
records can be added, deleted, edited. Because of PK/FK constraints it's
clear that the changes must be posted back to the database in specific order
to avoid RI violations. I'm using stored procs for UpdateCommand,
DeleteCommand, SelectCommand.
What are the best practices to achieve this using as much built-in ADO.NET
intelligence as possible?