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.
Loading
Vishal JadhavPosted Nov 26, 2014, 1:58 AM
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.
abhishekPosted Nov 26, 2014, 1:17 AM
I am using EF5.0.
Thanks
Vishal JadhavPosted Nov 24, 2014, 11:50 PM
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.