Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I faced errors on delete and insert #29

Open
MichelHanna opened this issue Feb 6, 2018 · 0 comments
Open

I faced errors on delete and insert #29

MichelHanna opened this issue Feb 6, 2018 · 0 comments

Comments

@MichelHanna
Copy link

i faced errors when running
dbSet.Remove(entity); & dataContext.Entry(entity).State = EntityState.Modified;

The object cannot be deleted because it was not found in the ObjectStateManager
where dbcontext turned down to be null in each request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant