Fetch should be the last in the Linq-based Mike Hadlow blog post :
Note that if you want to mix Fetch with other sentences, Fetch should always come last.
So, if Fetch just specifies the selection strategy for the property, why can't I have more sentences after Fetch? N
In one case that I encounter, AsPagination (MVCContrib) is used with Fetch. Because AsPagination is trying to get a counter for the request that Fetch has by adding .Count () to the end.
So, why should the property output strategy be the last sentence in the Linq Nhibernate query expression?
source
share