December 2019
Intermediate to advanced
598 pages
12h 21m
English
Now that we have DbUp installed into our project, let's get it to do database migrations when the app starts up:
using DbUp;
public void ConfigureServices(IServiceCollection services){ var connectionString = Configuration.GetConnectionString("DefaultConnection"); EnsureDatabase.For.SqlDatabase(connectionString); // TODO - Create and configure an instance of the DbUp upgrader // TODO - Do ...Read now
Unlock full access