Which of the following actions you can take to accomplish the task?

You work as Web Developer in PassGuide.com. The company uses Microsoft .NET Framework 4
as its application development platform. You are using plain old CLR objects and you want to
enable lazy loading. Which of the following actions you can take to accomplish the task?
Each correct answer represents a complete solution. Choose two.

You work as Web Developer in PassGuide.com. The company uses Microsoft .NET Framework 4
as its application development platform. You are using plain old CLR objects and you want to
enable lazy loading. Which of the following actions you can take to accomplish the task?
Each correct answer represents a complete solution. Choose two.

A.
Mark the properties that you want to lazy load as private.

B.
Set the CommandTimeOut to 120 on the ObjectContext

C.
Set the LazyLoadingEnabled to true on the object context’s ContextOptions.

D.
Mark the properties that you want to lazy load as virtual.

Explanation:



Leave a Reply 1

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