Entity Framework Code First in class library
问题 I just started trying my hands on EF4 code first this morning and I created my POCO, data context and Initializer classes in a separate class library, I believe it's the regular boiler plate type code. I reference the class in an MVC3 application and set the initializer in the Global.asax. On running the app, I notice the following problems 1. No database is created anywhere (Then I add an entry in the web.config for a connection string named after the Context class, still no result) 2. When