In which order should you fill the DataTable objects?

You have a strongly typed DataSet object named myDataSet. This object contains three DataTable objects named Customers, Orders, and OrderDetails.

Customers and Orders have a data column named CustomerID. Orders and OrderDetails have a data column named OrderID.

Orders has a foreign key constraint between Customers and Orders on CustomerID. OrderDetails has a foreign key constraint between Orders and OrderDetails on OrderID.

You want to populate Customers, Orders, and OrderDetails with data from a Microsoft SQL Server database.
In which order should you fill the DataTable objects?

You have a strongly typed DataSet object named myDataSet. This object contains three DataTable objects named Customers, Orders, and OrderDetails.

Customers and Orders have a data column named CustomerID. Orders and OrderDetails have a data column named OrderID.

Orders has a foreign key constraint between Customers and Orders on CustomerID. OrderDetails has a foreign key constraint between Orders and OrderDetails on OrderID.

You want to populate Customers, Orders, and OrderDetails with data from a Microsoft SQL Server database.
In which order should you fill the DataTable objects?

A.
Customers
OrderDetails
Orders

B.
OrderDetails
Orders
Customers

C.
Customers
Orders
OrderDetails

D.
Orders
OrderDetails
Customers



Leave a Reply 0

Your email address will not be published. Required fields are marked *