代码改变世界

Entity Framework Tutorial Basics(13):Database First

2016-07-07 09:58  追忆似水流年  阅读(110)  评论(0编辑  收藏  举报

Database First development with Entity Framework:

We have seen this approach in Create Entity Data Model where we created the EDM, context and entity classes from an existing database. So, when you generate EDMX from an existing database then it is a Database First approach.

Entity Framework database first

Entity Data Model can be updated whenever database schema changes. Also, database-first approach supports stored procedure, view, etc.

These basic tutorials cover the Database-first approach.

Learn how to choose appropriate EF development approach in the next chapter.