Level2 Cache Default Behavior

2 posts, 0 answers
  1. Keith
    Keith avatar
    5 posts
    Member since:
    Dec 2011

    Posted 20 Dec 2011 Link to this post

    I have found many references to setting a default caching behavior on an Openaccess file, but I cannot seem to find it in the designer or anywhere online on how to change it, just references to it. I would like to have my default Level2 cache be disabled on all tables/classes, but enabled on some. How would I define the global scope? I can see where I define it on each object, and I do not want to set each of the tables to off.
  2. Ralph Waldenmaier
    Ralph Waldenmaier avatar
    202 posts

    Posted 21 Dec 2011 Link to this post

    Hi Keith,

    You can enable/disable the 2nd Level Cache also in the Visual Designer. See the link for details. 
    The method you are trying to do, by disabling all by default and enabling the cache selectively for some domain classes, is not supported by Telerik OpenAccess ORM.
    Instead, we are following the approach, that you have to decide to use the 2nd Level Cache and then get the opportunity to selectively not cache data of several domain classes. See this link for details on how to configure your caching strategy for your domain classes.

    I hope this information is useful for you. Feel free to ask if you have any other question.

    the Telerik team

    Q3’11 of Telerik OpenAccess ORM is available for download. Register for the What's New in Data Tools webinar to see what's new and get a chance to WIN A FREE LICENSE!

Back to Top