I have a database with many tables, views and sprocs. If I try to create a data model that includes everything, it errors out on the creation of the class file. If I try to create a model with just the views, it works fine. Is there a limit or is there something in a config file somewhere that needs to be tweaked?
views:
55answers:
1
Q:
Entity Framework 4.0; Is there a limit on the number of objects(tables,views,sprocs) it will handle?
A:
Have you tried a model with just the tables and/or procs? I'm not aware of a size limit but could it be possible the creation of the model is taking so long your SQL connection is timing out? Are you getting a specific error message?
Chuck
2010-09-23 12:50:22
Yes, if I only do the tables or views, it works fine. That is why I thought there might be a size limitation.
Scott and the Dev Team
2010-09-23 14:37:17
What's the error you're getting? Or does it just hang?
Chuck
2010-09-23 14:46:48