I am relatively new to EntityFramework and have been asked to explore the performance hit of using a Model with 500+ tables in it versus multiple models with the tables split up. I have read that using multiple models is prefered, but to test the performance and prove this concept I need to be able to create the huge model. I have tried to Update the .edmx file and have only been able to add ~275 tables. Does anyone know of a config setting that will allow the ability to add more?
I am relatively new to EntityFramework and have been asked to explore the performance
Share
It’s not recommended to use that many entities when using an .edmx file. You will get much better performance using the Code First approach (even if you have an existing database, you can still use code first).
You will also want to pre-render your entity views if you have that many tables.
http://msdn.microsoft.com/en-us/library/bb896240.aspx