What should you do?

You use Microsoft Visual Studio 2010 and .NET Framework 4.0 to develop an application.
You use 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 database colomn.
You need to add the property to product. What should you do?

You use Microsoft Visual Studio 2010 and .NET Framework 4.0 to develop an application.
You use 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 database colomn.
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 comlex type with the name of the property in the Entity Framework Designer.

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



Leave a Reply 0

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