CodeFirst & EDMX in the same application

I have an "outdated" EDMX-based EF model and a newer CodeFirst model. I want to be able to gradually migrate the application from EDMX to CF, which is simultaneously used. It seems that both models running on the same AppDomain are causing problems. Everything works well with one model until another model is used, and then everything goes to hell with display errors and remains in that state until the AppDomain is reworked. At the moment, I have divided the two models in two different web service applications. It works great, but not perfect. Is there a way to get them to collaborate in the same AppDomain?

+3
source share
2 answers

This issue seems to be “fixed” in the last few EF updates. No longer a problem for me.

0
source

Check out this discussion on the MSDN forums. Hope this information is helpful.

+1
source

All Articles