You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create an application. The
application uses the ADO.NET Entity Framework to manage PIan Old CLR Objects (POCO) entities.
You create a new POCO class.
You reed to ensure that the class meets the following requirements:
• It can be used by an ObjectContext
• It is enabled for change-trackng proxles
Which two actions sould you perform? (Each correct answer presents part of the solution.
Choose two.)
A.
Modily each mapped property to contain sealed and protected accessors.
B.
Modify each mapped properly to contain non.sealed, public, and virtual accessors
C.
Configure the navigation property to return a type that implements the ICollectio interface
D.
Configure the navigation property to return a type that implements the IQueryable interface
E.
Configure the navigation property to return a type that implements the IEntityWithRelationships
Interface
Explanation:
CHAPTER 6 ADO.NET Entity Framework
Lesson 1: What Is the ADO.NET Entity Framework?
Other POCO Considerations (page 412)