Re:Objection to ORM Hatred
by ChymeraXYZ on Monday January 16, 2023 @02:41AM
(#34397963)
> And with good ORMs like Entity Framework the underlying queries they generate are predictable.
Right up until they are not and generate crap. I went from "predictable" EF generated queries to handcrafted ones reduced the load on the DB by about 70% while having more queries per second...
Re:Objection to ORM Hatred
by asabla on Monday January 16, 2023 @05:04PM
(#34406059)
from personal experience this was a much larger problem during .net framework days. Now with EFcore, most generated queries are much more sane and performant
Right up until they are not and generate crap. I went from "predictable" EF generated queries to handcrafted ones reduced the load on the DB by about 70% while having more queries per second...