Entity framework - tips

ShuggyCoUk

Ars Legatus Legionis
10,387
Subscriptor++
Another tip: just don't use an ORM. Write SQL instead. Micro-ORMs like Dapper are fine.
I cannot upvote this hard enough. The key takeaway is that the name is the wrong way round.

Things like Dapper where you're using it to project a query into the objects/the type system of your language are fine (good in fact as often they cleanly sort out parameter mappings and avoid query injection etc) but they are greta when used as "Relational to Object" mappings.

ROM is sadly already very heavily occupied in the CS space, and names matter.