You are implementing an Entity Framework application to access a SQL Server database. You need to define POCO classes that will be implicitly mapped to entity types defined in your data model.

How should you define classes?

 Posted by Rajkatie on 8/30/2012 | Category: ADO.NET Interview questions | Views: 1574 | Points: 40
Select from following answers:
  1. Create classes that have the same name as the corresponding entity type. Create properties that have the same name as entity type property names.
  2. Create classes that have the same name as the corresponding database table. Create properties that have the same name as column names.
  3. Create classes with names that use the model name as a prefix followed by the corresponding entity type name ("AdventureWorksModelOrder"). Create properties that have the same name as entity type property names.
  4. All Above

Show Correct Answer


Source: MeasureUp.Com | | Alert Moderator 

Comments or Responses

Login to post response