Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: Framework entity
Dear all,

i am new to mvc, and i am using entity framework model first approach to handle the database, i know i can use the entity framework other than the mvc like asp.net or in console application, Right , Now when i am using model first in console application it adds more objects in solution explorer then when i am using it in mvc 3 application, the main difference is Model1.tt and Model1.Context.tt in mvc 3 application it adds Model1.tt object and inside the Model1.tt it creates all the class corresponding to the entity i have created, and the model1..cs
Please could anyone make me understand, why this difference between using entity framework model first in in console application and in mvc 3 application, and about the,

1.Model1.Context.tt
 
2.Model1.tt
3.All the classes inside the Model1.tt
 
Your help will highly appreciated, pleas if anyone can help me.
Posted 24-Mar-13 2:29am
Edited 24-Mar-13 2:30am
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web01 | 2.8.1411022.1 | Last Updated 24 Mar 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100