Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

新增加的实体 手动迁移 也不成功 #5

Closed
ganmk opened this issue Feb 20, 2019 · 2 comments
Closed

新增加的实体 手动迁移 也不成功 #5

ganmk opened this issue Feb 20, 2019 · 2 comments
Labels
question Further information is requested

Comments

@ganmk
Copy link

ganmk commented Feb 20, 2019

code first 新增加的实体 手动迁移 也不成功 是什么原因呢?

@ganmk
Copy link
Author

ganmk commented Feb 22, 2019

@liuliang-wt

@liuliang-wt
Copy link
Collaborator

EF中目前不可以自动更新数据库,最简单的办法是删了已有的库,让EF重新生成新库,或者手动在数据库中添加和实体对应的表

@liuliang-wt liuliang-wt added the question Further information is requested label Dec 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants