Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Edwin van Koppen 156 posts 270 karma points
    Feb 01, 2013 @ 11:02
    Edwin van Koppen
    0

    How to setup relations?

    I've got a question how to set up relations in a good manner in Umbraco.

    Set you have a datamodel like a project, that project has multiple newsitems, multiple comments, those comments has also a user and that user has a favorite color.

    The way normaly i work is i set up a good datamodel but in Umbraco you don't have a "real" datamodel so i made the doctypes and make the relation with the ultimate picker. But how do you query things like that? Now i made alot of foreach loops to tie everything together but that can't be the right way.

    Do you guys have any experience query'en data like that, how do i set up this that the performance is still ok?

    thx advance for any answers!

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies