What is the limit on FetchStrategy.LoadWith?

2 posts, 1 answers
  1. David
    David avatar
    10 posts
    Member since:
    Sep 2010

    Posted 18 Jul 2011 Link to this post

    Hi,

    I'm trying to use the fetch strategy method LoadWith() for performance. It appears there is a limit to the number of sub-objects that the fetch can handle. 

    *EDIT* Moments later, I realised that you can't have a fetch plan on a non-persisted property.

    Thanks,
    David.
  2. Answer
    Jan Blessenohl
    Admin
    Jan Blessenohl avatar
    707 posts

    Posted 19 Jul 2011 Link to this post

    Hi David,
    There are limits, we are fetching 3 levels by default, infinit amout of objects. You can change the behavior by setting the MaxFetchDepth and MaxResultsLimit properties.

    All the best,
    Jan Blessenohl
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

  3. DevCraft banner
Back to Top