Entity Framwork 7 reverse engineer from existing db “code first”

主宰稳场 提交于 2020-01-13 05:49:28

问题


I can't figure out how to pass the connection string parameter in the latest version of dnx... trying

dnx ef dbcontext scaffold -connection='sql connection string' 

but it doesn't recognize the -connection parameter .. how are you supposed to pass arguments into the thing?


回答1:


Have you tried:

dnx ef dbcontext scaffold "sql connection string" EntityFramework.MicrosoftSqlServer


来源:https://stackoverflow.com/questions/32377984/entity-framwork-7-reverse-engineer-from-existing-db-code-first

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!