Download Sample Project:

Download a sample project for Entity Framework 6 Database-First model below. Download Entity Framework 6 code-first Sample Project

Download a sample project for Entity Framework 6 CodeFirst-First below.
Download Entity Framework 6 Database first Sample Project

These sample projects already include the SchoolDB.mdf file required for the sample project. So, attach SchoolDB.mdf to your MS SQL Server database before running the sample projects.