开发者

System.Data.MetadataException - seems more stubborn than most people's

I have gone through this post and the links, and still can't solve my issue.

I have changed my config to name the assembly, but it makes no odds.

We recently moved the projects and think that might be an issue - but how to solve it if so. I don't quite understand how EF when running finds the cdsl etc. files I thought they were embedded in the dll [it is set to do so]?

The service having the issue does开发者_如何学运维n't directly use EF itself, it uses another DLL which DOES. I also added a direct ref to the DLL but no joy.

Also, the same code (the dll that contains the functionality, not the wrapper service) using the same connections strings works fine in my system test project via the IDE.


Turned out to be down to incorrect initialisation of StructureMap and not really to do with EF itself.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜