How do I optimize ICriteria to select in NHIbernate?

UPDATED FOR UPDATE QUESTION It's probably best to make the Members collection lazy in the configuration and then only set otherwise when required like . SetFetchMode("TeamMembers", FetchMode. Eager).

Yes it's more complicated. I updated my example with mappings, classes and generated sql. – Jonas Stensved Aug 11 at 17:11 would you not make the Members lazy by default, common practice, i.e.? – dove Aug 11 at 17:17 Updated with lazy="true" but there is no change in the generated SQL?

(I only use eager loading when required as you suggest) – Jonas Stensved Aug 12 at 6:56 Found the same question here (without answer) stackoverflow. Com/q/5296461/348841 – Jonas Stensved Aug 12 at 8:14.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions