CRUD Operation DELETE not work

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
7 years ago
I had add one table and mapped with database.

When i delete one record with that table i got one error "The object cannot be deleted because it was not found in the ObjectStateManager.".

I had pass data like below and delete function click.

userMaster.Id = 3;
_userMasterService.DeleteUser(userMaster);

Please help if anyone know.
7 years ago
I think there are some error in mapping with database.
Give me more information (class Entity and Class Map).
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.