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 your entity for that table, add the DatabaseGenerated attribute above the column for which identity insert is set:
DatabaseGenerated
Example:
[DatabaseGenerated(DatabaseGeneratedOption.Identity)] public int TaskId { get; set; }