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

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -