CompositeId, KeyReference, Fetch.Join
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);
2 Posted by Zach Curtis on 07 May, 2010 05:52 PM
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.