The Entity Framework tools version '3.1.3' is older than that of the runtime '5.0.0'. Update the tools for the latest features and bug fixes. code example
Example 1: The EF Core tools version '3.1.0' is older than that of the runtime '3.1.3'
Use command line, Cmd or PowerShell for specific version:
dotnet tool update --global dotnet-ef --version 3.1.0
or
dotnet tool update --global dotnet-ef
Example 2: the entity framework tools version
dotnet tool update --global dotnet-ef