Entity Framework Tutorial Basics(11):Code First
2016-07-07 09:56 追忆似水流年 阅读(149) 评论(0) 编辑 收藏 举报Code First development with Entity Framework:
Entity Framework supports three different development approaches to use entity framework in your application.
- Code First
- Model First
- Database first
Code First:
In the Code First approach, you avoid working with visual model designer (EDMX) completely. 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 domain classes first and then generating the database required to persist their data.
Please visit Code-First Tutorials section to learn code-first from scratch.