Download Sample Project:

Download a sample project for Entity Framework 6 Database-First model below.

Entity Framework 6.0 Tutorials(11):Download Sample Project-LMLPHP

Download a sample project for Entity Framework 6 CodeFirst-First below. 
Entity Framework 6.0 Tutorials(11):Download Sample Project-LMLPHP

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.

原文地址:http://www.entityframeworktutorial.net/entityframework6/sample-project.aspx

05-02 21:32