首页 新闻 会员 周边

entity framework进行数据库迁移,不知道问题出在哪里?求大神指教

0
悬赏园豆:10 [已关闭问题] 关闭于 2014-04-04 13:55

迁移过程,如下,但是数据库并没有我要增加的表!

杨胜强的主页 杨胜强 | 菜鸟二级 | 园豆:204
提问于:2014-04-04 11:19
< >
分享
所有回答(1)
-1

PM> update-database
Specify the '-Verbose' flag to view the SQL statements being applied to the target database.
Applying explicit migrations: [201404040255031_SendMessages].
Applying explicit migration: 201404040255031_SendMessages.
Running Seed method.

 

执行完成后,数据库中便会有表了!

杨胜强 | 园豆:204 (菜鸟二级) | 2014-04-04 13:55
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册