Download Sample Project:
Download a sample project for Entity Framework 6 Database-First model below.
Download a sample project for Entity Framework 6 CodeFirst-First below.
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