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
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.