Fluent and/or NH dirty one-to-many collection strategies #750
Replies: 2 comments 1 reply
-
I should also add, at least in our case, we are running in a completely detached environment. That is, we get or query for the instances we want, and when ready to post a change, request a new session instance, then do the appropriately top level |
Beta Was this translation helpful? Give feedback.
-
After having pushed through a couple of internal Based on these exceptions, this somewhat addresses at least one question. That is, the ORM behaviors around would-be orphaned records is problematic. Which is also consistent with EF.
And in the database log:
Which leads me to believe that in fact what would be orphaned records are not being handled as such. That is, in this case, literally, |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, we would like to know what if any are the strategies reconciling a dirty one to many collection. Comparing contrasting with
EntityFrameworkCore
, was finding this to be the case, for example. And assuming there are sufficient cascading mappings added, perhaps also clarifying which of those cascading attributes would have the desired strategic effect.Wondering, is Fluent and/or NH any stronger at dealing with these use cases? Particular the third.
Cheers and thanks for the insights! 🍻
Beta Was this translation helpful? Give feedback.
All reactions