Entity Framwork 4.1 问题?

zyxfcb1520 2011-09-15 10:16:39
Entity Framwork 4.1 怎么连接mysql数据库,并且可以自动创建数据库和表
...全文
68 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
zyxfcb1520 2011-09-19
  • 打赏
  • 举报
回复
没人。。
zyxfcb1520 2011-09-16
  • 打赏
  • 举报
回复
在 System.Threading.ThreadHelper.ThreadStart()</StackTrace><ExceptionString>System.InvalidOperationException: The model backing the 'DBtest' context has changed since the database was created. Either manually delete/update the database, or call Database.SetInitializer with an IDatabaseInitializer instance. For example, the DropCreateDatabaseIfModelChanges strategy will automatically delete and recreate the database, and optionally seed it with new data.

出现错误
zyxfcb1520 2011-09-15
  • 打赏
  • 举报
回复
没人回答。。。。

110,539

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Web++
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧