PrepAway - Latest Free Exam Questions & Answers

Which strategy should you use?

You are designing a Windows Presentation Foundation (WPF) application by using
Microsoft .NET Framework 4 and Microsoft Visual Studio 2010. You plan to create an
Author object that contains a Books property. The Books property contains a large array of
Book objects. When users browse through author data in the application, they must be able
to view all information related to books written by that author without additional queries. You
need to design a data access strategy that meets the requirement. Which strategy should
you use?

PrepAway - Latest Free Exam Questions & Answers

A.
lazy loading

B.
pessimistic locking

C.
eager loading

D.
optimistic locking


Leave a Reply