context.X.Add(x); context.SaveChanges();
The entity framework returned the error:
Unable to update the EntitySet 'X'because it has a DefiningQuery and no
The solution to fix this error was to create a primary key in the table and update the entity model.
No comments:
Post a Comment