SqlException: Invalid object name 'ProductCategory'.
There are migrations that have not been applied to the following database(s):
In Visual Studio, you can use the Package Manager Console to apply pending migrations to the database:
PM> Update-Database
Alternatively, you can apply pending migrations from a command prompt at your project directory:
> dotnet ef database update