实体Framwork 7从现有数据库“代码优先”进行反向工程。 [英] Entity Framwork 7 reverse engineer from existing db "code first"
本文介绍了实体Framwork 7从现有数据库“代码优先”进行反向工程。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我不知道如何在最新版本的dnx中传递连接字符串参数...尝试
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'
但它无法识别-connection参数..您应该如何将参数传递给事物?
but it doesn't recognize the -connection parameter .. how are you supposed to pass arguments into the thing?
推荐答案
您是否尝试过:
dnx ef dbcontext scaffold "sql connection string" EntityFramework.MicrosoftSqlServer
这篇关于实体Framwork 7从现有数据库“代码优先”进行反向工程。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文