Deployment - rock-walker/Eline GitHub Wiki

restore database from Code First:

just call in Package Console the next command:

update-database -ProjectName EL.EntityModels


The next one, if you want to start clear history of migrations:

_add-migration -Name ElinMigration -ProjectName EL.EntityModels -ConfigurationTypeName EL.EntityModels.Contexts.Migrations.Configuration (if needed)

then call again command "update-database".