why when i want use EF Power tools for view my model i get error?

天涯浪子 提交于 2019-12-12 12:51:40

问题


Im using EF Code first and i generate my model by "EF 4.x DbContext Fluent Generator for c#" extension in vs2010. but when i want to view my Entity model via EF Power tools i get this error:"Sequence Contains no matching element". is there any idea?


回答1:


It's a bit too late and not sure if this would help but for others and historic reasons...

I had the same issue (with Beta 3 - and .NET 4/2010/EF5 etc.) - the solution was relatively simple.
I just moved out the project from the 'solution directory' into the root of the solution.

I 'learned' that trick from dealings with 'migrations' and PM console - it wouldn't work if you have a lib (entities) - and your startup/executable - while any of the two is in a solution dir somewhere.



来源:https://stackoverflow.com/questions/14586061/why-when-i-want-use-ef-power-tools-for-view-my-model-i-get-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!