79462567

Date: 2025-02-24 05:59:33
Score: 2
Natty:
Report link

I forgot about how I run the scaffold command on my backend, it had the instance name included on it (mentioned by @AlwaysLearning). I just had to run the scaffold command again with the correct values to fix it, which is this:

dotnet ef dbcontext scaffold "Server=localhost,1433;Database=CanteenDB;User Id=sa;Password=******;TrustServerCertificate=True;" Microsoft.EntityFrameworkCore.SqlServer -o Entities --force
Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @AlwaysLearning
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: seyan