-
-
Notifications
You must be signed in to change notification settings - Fork 318
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
Update not working with ObjectContext #681
Comments
Hello @Coder3333 , Thank you for reporting, we will look at it. Best Regards, Jon Sponsorship Performance Libraries Runtime Evaluation |
Hello @Coder3333 , We didn't successfully implement it in our library. However, we have a public extension method that could help you: Such as: objectContext.GetOrCreateDbContext().Set<Customer>().Update(x => new Customer {Code = "zzz"}); Let me know if this workaround is working for you. As you understand, this method returns a Best Regards, Jon |
1. Description
I have a very simple query that uses the old ObjectContext, instead of DbContext, and it fails when I try to perform an Update.
2. Exception
4. Any further technical details
I have traced the server, and no SQL is being executed.
Z.EntityFramework.Plus.EF6 5.1.31.0
The text was updated successfully, but these errors were encountered: