I don't know how I migrated to EntityFramework.Core (v7.0.0-rc1-final) using EntityFramework.Commands (also v7.0.0-rc1-final). When I add migration (Add-Migration), this creates the migration. Then, when I enter the update database, so the PM console returns:
Database updates should not be used with Universal Windows applications. Instead, call DbContext. Database. Migration () at runtime.
But the Migrate () method is not specified in the Context.Database. Therefore, this command cannot be specified. It seems to me that this is a mistake.
source
share