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
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.