Copied to clipboard

Flag this post as spam?

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


  • Rodrigo Peplau 8 posts 38 karma points
    Dec 28, 2010 @ 14:20
    Rodrigo Peplau
    0

    Related Links property with .NET generated class

    Hi, I'm trying to get the value for a Related Links property in a generated .NET class, but all I get is an empty string.

    My code is below:

     

                MyUmbracoDataContext context = new MyUmbracoDataContext();

                RunwayHomepage homepage = context.RunwayHomepages.ElementAt(0);

    1. When I inspect object "homepage", my "Related Links" property is empty.
    2. In the backend, I can successfully add and remove links to my "RunwayHomepage", but these data doesn't reflect in the .NET classes

     

    I'm using umbraco v 4.5.2 (Assembly version: 1.0.3891.20719)

  • Rodrigo Peplau 8 posts 38 karma points
    Dec 28, 2010 @ 14:54
    Rodrigo Peplau
    0

    My Watch window:

  • 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