I don't know how I have run the migration in EntityFramework.Core(v7.0.0-rc1-final) using EntityFramework.Commands(also v7.0.0-rc1-final). When I add the migration (Add-Migration) so migration creates. Then, when I enter the Update-Database, so the PM console returns:
Update-Database should not be used with Universal Windows apps. Instead, call DbContext. Database. Migrate () at runtime.
But the Context.Database does not contain method Migrate(). So this command cannot be specified. It seems to me that this is a bug.
In RC1, make sure you have
using Microsoft.Data.Entity;
in the document. Migrate() is an extension method that is available when you install a relational provider, such as EntityFramework.Sqlite.See https://docs.efproject.net/en/latest/platforms/uwp/getting-started.html