Entity Framework Migrations with a different Database -
i stuck trying figure out how set database run migration on.
i have created new empty project , set entity framework using code first. have classes built.
i want add new database , run migrations on this. have migrations working can't figure out database running on.
is possible set database want use migrations?
multiple dbs same context gets little tricky. possible: essence of problem how ef decides connection use. access instantiate context without no params during migration. depending on how behaves influences outcome , success.
start here: entityframework code-first custom connection string , migrations
Comments
Post a Comment