News for hackers. Stuff that matters.
Re:.NET Myths Dispelled by tehlike on Saturday March 12, 2022 @08:45PM (#30657049)
Entity Framework owes a lot to nhibernate - but linq is the best thing that ever happened in ORM world.
Re:.NET Myths Dispelled by runevault on Saturday March 12, 2022 @10:30PM (#30657631)
Maybe full on EF/EFCore is better, but I know with basic Linq to Sql I often needed to check the generated SQL because sometimes it was non-intuitive how to get it to generate the simplest form possible (my biggest example was to do a 3 part join I had to list the tables backwards from the way I expected, doing the other way lead to a weird bunch of subselects, though note this is also in Framework so maybe they simply fixed the SQL compiler in Core).
Re:.NET Myths Dispelled by setr on Sunday March 13, 2022 @12:44AM (#30658347)
I’ve been working with efcore lately and it has so far almost always produced what I’d expect, at least for my arbitrarily complex joins and left joins, both join calls and Include calls (and include simplifies a ridiculous amount of cases)

They also removed the intermixing between server logic and db logic, which greatly reduces nonsense occurring

Re:.NET Myths Dispelled by zsims on Sunday March 13, 2022 @06:40PM (#30666456)
LINQ is very hard to debug, especially depending on the provider. With anything remotely complicated it becomes write-once (like Perl :p)