Invalid object name 'dbo.CaseAssignedToInvestigators1'
.NET (Core and Framework)
1
Posts
1
Posters
3
Views
1
Watching
-
Hi I am trying to create an object using Entity Framework Code First, but unfortunately its creating the object name incorrectly, actually let me explain the whole process how I did it, actually I wanted to add a Auto generating PK, I have renamed the existing Table as CaseAssignedToInvestigators1, then I generated new table with all Columns and keys properly - then I migrated data from the table CaseAssignedToInvestigators1 into new table CaseAssignedToInvestigators, but how did Entity Framework Code First Generated the Tables I don't know but when I am trying to insert or update the records, its giving me exception as below: Invalid object name 'dbo.CaseAssignedToInvestigators1' Any help please - thanks in advance.