Share via

Create API Controllers using entity framework error startIndex

NARARIT 0 Reputation points
2023-06-11T11:15:50.9533333+00:00
Using database provider 'Microsoft.EntityFrameworkCore.SqlServer'!
startIndex cannot be larger than length of string. (Parameter 'startIndex')
   at Microsoft.VisualStudio.Web.CodeGeneration.ActionInvoker.<BuildCommandLine>b__6_0()
   at Microsoft.Extensions.CommandLineUtils.CommandLineApplication.Execute(String[] args)
   at Microsoft.VisualStudio.Web.CodeGeneration.ActionInvoker.Execute(String[] args)
   at Microsoft.VisualStudio.Web.CodeGeneration.CodeGenCommand.Execute(String[] args)

Developer technologies | .NET | Entity Framework Core

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.