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 -

Socket.connect doesn't throw exception in Android -

iphone - How do I keep MDScrollView from truncating my row headers and making my cells look bad? -