Copied to clipboard

Flag this post as spam?

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


  • Nate 143 posts 184 karma points
    Aug 21, 2011 @ 19:37
    Nate
    0

    Linq 2 Umbraco - Query children by doctype

    I have a structure like this:

    -Plan
    -Week
    -Day
    -Workout

    And I want to query like this:

    var plans = from s in db.Plans
                     where s.ParentNodeId == 1234
                     select s.Children.Where(I want to be able to specify the "Workout" doctype here");

    Can I do this in LINQ 2 Umbraco?

     

     

  • 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