Hi all,
I have just started to work with entity framework in a different class library. I have dragged abc.edmx file in my project and connected it with my database. My problem is that i dont want to use table_name.cs files which are generated under abc.tt file.In this file all class files are started with table name.
What if i delete this .tt file or all .cs files under .tt exetension file. I want to modify it by my way but I dont know how to do it.
So,please show the right way to do it.
Thanks.
.tt file in Entity Framework
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Vishal JadhavRank #2,563 · 545 reputationPosted Nov 24, 2014, 6:50 PM EST
Please refer which EF you are using.
In EF-4 .tt file is generally avoided and not generated by the system itself.
Check and Reply.
Regards,
Vishal.
abhishek20 reputationPosted Nov 25, 2014, 8:17 PM EST
I am using EF5.0.
Thanks
Vishal JadhavRank #2,563 · 545 reputationPosted Nov 25, 2014, 8:58 PM EST
You can simply remove the .tt file and proceed as per your requirements.
To change the name of table you can edit .edmx file.
Regards,
Vishal.