The Migration Fluent API6:04 with James Churchill
The `Up` and `Down` methods in the migration class use the Migration Fluent API to update the database. Let's take a look at some of the methods in the DbMigration base class that make up the Migration Fluent API.
To follow along commiting your changes to this course, you'll need to fork the dotnet-ef-migrations repo. Then you can clone, commit, and push your changes to your fork like this:
git clone <your-fork> cd dotnet-ef-migrations git checkout tags/v1.5 -b the-migration-fluent-api
For more information on how to define EF entity relationships, see the following Treehouse course that covers the basics of EF.
See the following article for more information about database indexes.
You need to sign up for Treehouse in order to download course files.Sign up