You need to add the property to Product

You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to develop an application.
You use the Entity Framework Designer to create an Entity Data Model from an existing database by
using the Generate from database wizard. The model contains an entity type named Product. The
Product type requires an additional property that is not mapped to a database column. You need to
add the property to Product. What should you do?

You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to develop an application.
You use the Entity Framework Designer to create an Entity Data Model from an existing database by
using the Generate from database wizard. The model contains an entity type named Product. The
Product type requires an additional property that is not mapped to a database column. You need to
add the property to Product. What should you do?

A.
Add the property in the generated class file, and select Run Custom Tool from the solution menu.

B.
Add the property in a partial class named Product in a new source file.

C.
Create a complex type with the name of the property in the Entity Framework Designer.

D.
Create a function import with the name of the property in the Entity Framework Designer.



Leave a Reply 0

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