Click here to Skip to main content
14,451,447 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 10:22
communityengineerJörgen Andersson7-Mar-18 10:22 
GeneralRe: To ORM or not to ORM Pin
abmv6-Mar-18 1:18
professionalabmv6-Mar-18 1:18 
AnswerRe: To ORM or not to ORM Pin
HobbyProggy5-Mar-18 21:41
professionalHobbyProggy5-Mar-18 21:41 
AnswerRe: To ORM or not to ORM Pin
theokr5-Mar-18 22:31
Membertheokr5-Mar-18 22:31 
PraiseRe: To ORM or not to ORM Pin
RickZeeland6-Mar-18 1:50
communityengineerRickZeeland6-Mar-18 1:50 
AnswerRe: To ORM or not to ORM Pin
F-ES Sitecore5-Mar-18 23:48
mveF-ES Sitecore5-Mar-18 23:48 
AnswerRe: To ORM or not to ORM Pin
Fabio Franco6-Mar-18 0:16
professionalFabio Franco6-Mar-18 0:16 
AnswerRe: To ORM or not to ORM Pin
Member 133016796-Mar-18 3:06
MemberMember 133016796-Mar-18 3: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 Balboos6-Mar-18 3:28
mveW Balboos6-Mar-18 3:28 
GeneralRe: To ORM or not to ORM Pin
RickZeeland6-Mar-18 3:47
communityengineerRickZeeland6-Mar-18 3:47 
AnswerRe: To ORM or not to ORM Pin
Steve Naidamast6-Mar-18 3:56
professionalSteve Naidamast6-Mar-18 3:56 
AnswerRe: To ORM or not to ORM Pin
fqborges6-Mar-18 3:58
Memberfqborges6-Mar-18 3:58 
AnswerRe: To ORM or not to ORM Pin
DetroitJ6-Mar-18 4:08
MemberDetroitJ6-Mar-18 4:08 
AnswerRe: To ORM or not to ORM Pin
Tim L. Holgerson6-Mar-18 4:26
MemberTim L. Holgerson6-Mar-18 4:26 
AnswerRe: To ORM or not to ORM Pin
Jaime Premy6-Mar-18 6:00
professionalJaime Premy6-Mar-18 6:00 
AnswerRe: To ORM or not to ORM Pin
EbenRoux6-Mar-18 6:34
MemberEbenRoux6-Mar-18 6:34 
AnswerRe: To ORM or not to ORM Pin
Gerry Schmitz6-Mar-18 11:00
mveGerry Schmitz6-Mar-18 11:00 
AnswerRe: To ORM or not to ORM Pin
Marc Greiner at home7-Mar-18 1:01
MemberMarc Greiner at home7-Mar-18 1:01 
AnswerRe: To ORM or not to ORM Pin
MadMyche7-Mar-18 6:55
mveMadMyche7-Mar-18 6:55 
GeneralRe: To ORM or not to ORM Pin
RickZeeland7-Mar-18 7:05
communityengineerRickZeeland7-Mar-18 7:05 
AnswerRe: To ORM or not to ORM Pin
Eric Whitmore7-Mar-18 17:36
MemberEric Whitmore7-Mar-18 17:36 
GeneralHas anyone done a side loaded UWP application? Pin
Dan Neely5-Mar-18 8:17
MemberDan Neely5-Mar-18 8:17 
GeneralRe: Has anyone done a side loaded UWP application? Pin
raddevus5-Mar-18 8:25
communityengineerraddevus5-Mar-18 8:25 
GeneralRe: Has anyone done a side loaded UWP application? Pin
Dan Neely5-Mar-18 8:40
MemberDan Neely5-Mar-18 8:40 
GeneralRe: Has anyone done a side loaded UWP application? Pin
raddevus5-Mar-18 8:53
communityengineerraddevus5-Mar-18 8: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.