且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

实体框架代码首先 - 使用MySql创建数据库?

更新时间:2022-11-04 23:30:37

我不知道为什么它的工作,但它现在。我从代码中删除了连接属性,我创建了一个app.config文件,并通过此博客更正了创建数据库的错误 http://brice-lambson.blogspot.fr/2012/05/using-entity-framework-code-first-with.html ,现在它的作品

I dunno why it works but it does now. I removed the connection properties from the code and I've created an app.config file and correct a bug at the database creation with this blog http://brice-lambson.blogspot.fr/2012/05/using-entity-framework-code-first-with.html and now it works