Copied to clipboard

Flag this post as spam?

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


  • Kieron McIntyre 117 posts 360 karma points
    Jan 11, 2013 @ 14:29
    Kieron McIntyre
    0

    Why might DynamicNode.GetPropertyValue() hit the database?

    I have some code (in a web context) that calls GetPropertyValue() on a DynamicNode and this makes a call to the database toretrieve the property value (see screenshot). However, I thought this should query the data in the cached umbraco.config

    Why might this be happening?

  • Kieron McIntyre 117 posts 360 karma points
    Jan 11, 2013 @ 16:14
    Kieron McIntyre
    100

    I have worked this out. It was not the DynamicNode causing the issue, it was a call to new Media(id).getProperty(alias) in the same method call.

    Thanks.

Please Sign in or register to post replies

Write your reply to:

Draft