NHibernate vs EF

45 views
Skip to first unread message

Michael Powell

unread,
May 31, 2025, 2:39:53 PMMay 31
to nhu...@googlegroups.com
Hello,

I've run into some strange cycle and then also CRUD order issues causing FK failures with EF that have me wondering the efficacy of continuing with it for my ORM needs. Wondering if NHibernate (and/or Fluent) are any better about these sorts of things? Is there perhaps a run down comparison of features hibernate versus EF that might talk about these kinds of things? Appreciate any insights, thank you...

Best,

Michael W. Powell

Frédéric Delaporte

unread,
May 31, 2025, 2:45:19 PMMay 31
to nhusers
Hi,

NHibernate has a CRUD operations ordering logic meant to get things done as they should. But I guess EF is supposed to do so too. You would have to test your troublesome cases with NHibernate to check what it gives.

I do not know about a comparison between NHibernate and EF about this kind of issues.

Regards,

Frédéric

Michael W Powell

unread,
May 31, 2025, 3:33:16 PMMay 31
to nhusers
Appreciate the response. At least based on this issue, I would guess that EF does not do the appropriate mapping ordering, which is not a little troublesome.

Child Entity Insert Order Incorrect (closed not planned)

Bit more in depth survey of my project re: database (pg), which first strategies, possible NH+FNH feasibility.

Thanks!

Reply all
Reply to author
Forward
0 new messages