问题
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