Entity Framework Code First Automatic Migrations to Azure Database -


i'm using ef 5.0 code first , testing automatic migrations. works fine when i'm working locally when upload database azure , change connection string accordingly migration fails work. i'm using migratedatabasetolatestversion initializer. azure doesn't allow? i'm not getting error. no migration. ideas?

try doing on website trigger call db.

i had problem, until realized migrations weren't run until did on website triggered call db -- e.g. attempt log in. migrations run then.


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -