Click here to Skip to main content
15,903,523 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: To ORM or not to ORM Pin
Jörgen Andersson7-Mar-18 9:22
professionalJörgen Andersson7-Mar-18 9:22 
GeneralRe: To ORM or not to ORM Pin
abmv6-Mar-18 0:18
professionalabmv6-Mar-18 0:18 
AnswerRe: To ORM or not to ORM Pin
HobbyProggy5-Mar-18 20:41
professionalHobbyProggy5-Mar-18 20:41 
AnswerRe: To ORM or not to ORM Pin
theokr5-Mar-18 21:31
theokr5-Mar-18 21:31 
PraiseRe: To ORM or not to ORM Pin
RickZeeland6-Mar-18 0:50
mveRickZeeland6-Mar-18 0:50 
AnswerRe: To ORM or not to ORM Pin
F-ES Sitecore5-Mar-18 22:48
professionalF-ES Sitecore5-Mar-18 22:48 
AnswerRe: To ORM or not to ORM Pin
Fabio Franco5-Mar-18 23:16
professionalFabio Franco5-Mar-18 23:16 
AnswerRe: To ORM or not to ORM Pin
Member 133016796-Mar-18 2:06
Member 133016796-Mar-18 2:06 
Honestly, ORMS are a square-peg/round-hole kind of solution.

Objects represent data hierarchically(sp?), RDBMS's represent data relationally. There is no sane way to glue the different models together in the general case. It's not even about speed, it's about RDBMS design - ORM's that "work" work by duplicating everything in the object hierarchy in some way or another, or produce so many relational links your DB will grind to a halt on even the most simple object storage/retrieval.

What you can (and should) do is (like the other poster said) write your database abstraction layer to turn objects into relations and vice-versa. At the abstraction layer you need to keep the object hierarchy pretty flat (1 level deep). Your program will then construct the objects into the hierarchy from the table abstraction.
AnswerRe: To ORM or not to ORM Pin
W Balboos, GHB6-Mar-18 2:28
W Balboos, GHB6-Mar-18 2:28 
GeneralRe: To ORM or not to ORM Pin
RickZeeland6-Mar-18 2:47
mveRickZeeland6-Mar-18 2:47 
AnswerRe: To ORM or not to ORM Pin
Steve Naidamast6-Mar-18 2:56
professionalSteve Naidamast6-Mar-18 2:56 
AnswerRe: To ORM or not to ORM Pin
fqborges6-Mar-18 2:58
fqborges6-Mar-18 2:58 
AnswerRe: To ORM or not to ORM Pin
DetroitJ6-Mar-18 3:08
DetroitJ6-Mar-18 3:08 
AnswerRe: To ORM or not to ORM Pin
Tim L. Holgerson6-Mar-18 3:26
Tim L. Holgerson6-Mar-18 3:26 
AnswerRe: To ORM or not to ORM Pin
Jaime Premy6-Mar-18 5:00
professionalJaime Premy6-Mar-18 5:00 
AnswerRe: To ORM or not to ORM Pin
EbenRoux6-Mar-18 5:34
EbenRoux6-Mar-18 5:34 
AnswerRe: To ORM or not to ORM Pin
Gerry Schmitz6-Mar-18 10:00
mveGerry Schmitz6-Mar-18 10:00 
AnswerRe: To ORM or not to ORM Pin
Marc Greiner at home7-Mar-18 0:01
Marc Greiner at home7-Mar-18 0:01 
AnswerRe: To ORM or not to ORM Pin
MadMyche7-Mar-18 5:55
professionalMadMyche7-Mar-18 5:55 
GeneralRe: To ORM or not to ORM Pin
RickZeeland7-Mar-18 6:05
mveRickZeeland7-Mar-18 6:05 
AnswerRe: To ORM or not to ORM Pin
Eric Whitmore7-Mar-18 16:36
Eric Whitmore7-Mar-18 16:36 
GeneralHas anyone done a side loaded UWP application? Pin
Dan Neely5-Mar-18 7:17
Dan Neely5-Mar-18 7:17 
GeneralRe: Has anyone done a side loaded UWP application? Pin
raddevus5-Mar-18 7:25
mvaraddevus5-Mar-18 7:25 
GeneralRe: Has anyone done a side loaded UWP application? Pin
Dan Neely5-Mar-18 7:40
Dan Neely5-Mar-18 7:40 
GeneralRe: Has anyone done a side loaded UWP application? Pin
raddevus5-Mar-18 7:53
mvaraddevus5-Mar-18 7:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.