I have the below error when I execute the following script. What is the error about, and how it can be resolved?
Insert table(OperationID,OpDescription,Filte
In my case I was having set another property as key in context for my modelBuilder.
modelBuilder.Entity().HasKey(t => t.OtherProp);
I had to set the proper id
modelBuilder.Entity().HasKey(t => t.Id);