Click here to Skip to main content
15,886,110 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Updated 24-Mar-13 1:30am
v2

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900