Select from following answers:- Use the LoadWith method on the DataLoadOptions instances associated with the DataContext.

- Use the AssociateWith method on the DataLoadOptions instances associated with the DataContext.
- Set the DeferredLoadingEnabled property on the DataContext to False and set the ObjectTrackingEnabled property to False.
- All Above
Use the LoadWith method to specify which data related to your main target should be retrieved at the same time. For example, if you know you will need information about customers' orders, you can use LoadWith to make sure the order information is retrieved at the same time as the customer information. This approach results in only one trip to the database for both sets of information.
Use AssociateWith methods to specify subqueries to limit the amount of data retrieved, not to specify that data should be eager loaded.
Show Correct Answer
Source: MeasureUp.com | |
Alert Moderator