Guys am working on an Asp.Net MVC project that already is using a repository pattern for fetching data from MS SQL Server database.
I now intend to use Entity Framework for some new particular requirement of our project without disturbing the old repository logic. I have used EF Power tool Beta 3 and Reverse Engineered my database tables from Visual Studio, but the generated classes conflict with some of my existing repository classes which have the same name to their corresponding table in database, making the project unable to compile. I have looked upon this tutorial
But this tells about appending "tbl" prefix to table names and not changing generated class names. I myself however tried to change the generated class names in templates (present under CodeTemplates\ReverseEngineerCodeFirst but still they are generating with conflicts.
My question is what should I do to achieve my intended result (no conflicts with existing classes in project) or should I adopt some other alternative altogether ? Thanks for helping.