update() method Bug
See original GitHub issuefirstly, if I get a enetity used AsNoTracking() .
just like that: return await this.Context.BailunOrders.AsNoTracking().Where(a => a.OriginOrderNo == originNo.Trim()).FirstOrDefaultAsync();
and if I use Update(entity) to update the entity defined in IRepository but it doesnt work ~ that didn’t change value in database .
finally I have to define a new Update method to resovle the issue
Issue Analytics
- State:
- Created 5 years ago
- Comments:16 (8 by maintainers)
Top Results From Across the Web
Update function bug? - Forums
It only runs once. Not once per frame, just literally once, like the Start() function. Yet it works in my other script files....
Read more >dict.update returns incorrrect value - python bug?
It means that a subclasser has to override every method whose behavior they want to change including get() , update() , and others....
Read more >How to Fix Windows 10 Update Stuck - 10 Useful Methods
How To Fix Windows 10 Update Stuck – 10 Useful Methods · Method 1: Restart System · Method 2: Search About Error Code...
Read more >Update & Installation Issues
When installing or updating a game, Steam displays an error message: An error occurred while updating. [game title]. An error occurred while installing....
Read more >“We couldn't update system reserved partition” error ...
When upgrading to Windows 10, you may encounter the error “We couldn't update system reserved partition”, error code 0xc1900104, or error code 0x8000f0922....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The alternative: “detach the previous owned entity entry first”
thanks~