asp.net - Out Of Memory when using Entity Framework with large database (600+ entities) -
i'm using entity framework 5 large database 600+ tables (haven't counted stored procedure , views yet). after few start , running using visual studio 2012 out of memory error when trying update model.edmx file (using right click update database) or while trying compile.
quick google search says many people faced similar problem , in 1 forum suggested use multiple edmx files avoid this. (link http://social.msdn.microsoft.com/forums/en-us/adodotnetentityframework/thread/b4ce1494-a0b4-42c6-af56-4ecbfeb83e29)
my question 1) there way can avoid error , use large number of tables without trouble ef? 2) entity framework model right orm me large enterprise database? if not, can suggest me one?
thanks in advance
to answer first question.
i have found updating entity framework not seem work reliably in cases.
have tried deleting objects in model , inserting them again? may acceptable workaround.
Comments
Post a Comment