What do you mean by Code First Approach in Entity Framework ?

 Posted by Akiii on 10/30/2012 | Category: ASP.NET Interview questions | Views: 3847 | Points: 40
Answer:

In Code First approach you write your POCO classes first and then create database from these POCO classes.

Developers who follow the path of Domain-Driven Design (DDD) principles prefer to begin by coding their classes first and then generating the database required to persist their data in it.

In Code First approach, you avoid working with visual model designer (EDMX) completely.



Thanks and Regards
Akiii


| Alert Moderator 

Comments or Responses

Login to post response