In this article, we are going to show you how to use the FluentMigrator library to create data migrations with Dapper and ASP.NET Core. In our previous article, where we learned a lot about Dapper and ASP.NET Core, we had to create our database and seed our data manually. Since Dapper doesn't support migrations, if we want to create them, we have to use some additional help. For that, we are going to use FluentMigrator.
These are the topics:
- Project Creation and Dapper and FluentMigrator Installation
- Using Dapper and FluentMigration to Create a Database Migration
- Adding Tables to the Database Using FluentMigrator
- Seeding Data with FluentMigrator
- Reverting Migrations
- Conclusion