UserPortal is a sample project which is developed by asp.net. Simple full Crud Operation done by Codefirst in this project. I use Unity Mvc4,Entity Framework etc. Follow Onion Structure.
Set 'Test' Project a startup Project. and Run then Automatic Create a Db (open Sql Server Manager and Change Connection string in Web.config in UserPortal.Infrastructure)
Then UserPortal set a Startup Project and Run.
Otherwise I added a database .Bak file please restore and run.
Simple Codefirst Project For beginner.