开发者

Entity Creation in Linq-to-SQL Classes

How many entitie开发者_StackOverflow中文版s we can create in Linq-to-SQL Classes(Per .dbml file)?

I have 1,500 tables in my database.

While executing application in Linq-to-SQL Classes, it's showing

Not Enough storage space


There's no limit on how many entities can be created from your database. You might just be running out of memory in Visual Studio.

Edit

Based on Anton's comment, try restarting Visual Studio. Failing that, you may have to break up your data model into multiple dbmls with your various tables distributed throughout.


Looks like there's, quite literally, not enough space in de database to store any more entities. Is your HD full? Did you set a maximum size for your database file?


Try using sqlmetal via the command line instead of Visual Studio to generate your classes - it could be VS.NET is using too much memory.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜