While deleting a row, I experienced another "human error" and threw me this error:
The object cannot be deleted because it was not found in the ObjectStateManager.
Yes, I made a minor mistake, but was able to correct it immediately using the following script:
ctx.Employees.DeleteObject(x);
No comments:
Post a Comment