CompositeId, KeyReference, Fetch.Join

Original Post fluxmunki's Avatar

fluxmunki

19 Apr, 2010 11:46 AM via web

Is it possible to specify that a KeyReference for a compositeId should be eagerly loaded? I have a many-to-many with a link entity and to optimise performance I wanted to query all the link entities (so they populate the 1st level cache) and then load the actual entities.
CompositeId().KeyReference(x=>x.Parent).KeyReference(x=>x.Child);

  1. 2 Posted by Zach Curtis on 07 May, 2010 05:52 PM

    Zach Curtis's Avatar

    I am having the same issue where using References<> works on the same object as the KeyReference<> for selecting, but not when saving. Then I get rid of the duplicate and it works/fails vice versa.

Reply to this discussion

Preview Comments are parsed with Markdown. Help with syntax

Attached Files

    You can attach files up to 10MB

    What is the opposite of down?

    Recent Discussions

    05 Jul, 2010 10:29 PM
    05 Jul, 2010 12:45 PM
    05 Jul, 2010 12:42 PM
    05 Jul, 2010 12:17 PM
    05 Jul, 2010 12:12 PM

     

    03 Jul, 2010 12:26 AM
    02 Jul, 2010 02:17 PM
    02 Jul, 2010 08:18 AM
    02 Jul, 2010 12:20 AM
    01 Jul, 2010 10:14 PM