实体框架4.0;它会处理的对象(表,视图,存储过程)的数量是否有限制? [英] Entity Framework 4.0; Is there a limit on the number of objects(tables,views,sprocs) it will handle?
问题描述
我有一个包含许多表,视图和存储库的数据库。如果我尝试创建一个包含所有内容的数据模型,则会在创建类文件时出错。如果我尝试仅使用视图创建模型,则可以正常工作。
您是否尝试过使用以下模型进行建模?
只是表和/或过程?我不知道大小限制,但是建立模型可能需要很长时间才能使您的SQL连接超时吗?您是否收到特定的错误消息?
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?
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?
这篇关于实体框架4.0;它会处理的对象(表,视图,存储过程)的数量是否有限制?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!