You are deloping an ASP.NET Dynamic Data Web application. The application uses entities from a
global library named Entities. The Application_Start event contains the following code segment:
DefaultModel.RegisterContect(typeof)(
Entities.MyDBDataContext), new ContextConfiguration() {
ScaffoldAllTables = false });
You need to ensure that the application shows the Order and Customer entities and hides all other
entities. What should you do?
A.
Set the ScaffoldAllTables property of the ContextConfiguration to true.
B.
Create a partial class for each entity except Order and Customer within the Entities library and
apply the [ScaffoldTable(false)] attribute.
C.
Create a partial class for the Order and Customer entities within the web application and apply
the [ScaffoldTable(true)] attribute.
D.
Create a partial class for the Order and Customer entities within the Entities library and apply the
[ScaffoldTable(true)] attribute.