EF 4.1 code first causes weird (login) runtime errors

后端 未结 3 831
面向向阳花
面向向阳花 2021-02-09 06:38

I\'m using EF 4.1 code first. Running into a very weird situation: Database does not exist, code is executed and as soon as the code wants to execute a query against the reposit

3条回答
  •  無奈伤痛
    2021-02-09 07:20

    thanks Savvas, for sharing the fact that creating a new solution solved your problem. I faced the same weird issue with EF 4.1, and deleting the VS2010 "SUO" file seemed to do the trick for me. Thought I'd share this to save others the time to recreate the solution from scratch.

提交回复
热议问题