I have 4 projects :
Toombu.Entities : all models are there Toombu.DataAccess: Mapping, Repository and ToombuContext Toombu.Logique : Logic of my application
namespace EntityFrameworkCodeFirst.Module { public class MyDbContext: DbContext { public MyDbContext() { } } }
And if you have Multiple project in one solution than you have to use below commands:-
Enable-Migrations -ProjectName EntityFrameworkCodeFirst