Because that's the default behaviour. If you do not specify lazyness, all entities referenced from a loaded entity are loaded directly after it. Lazyness is used to stop NH/AR from loading objects that are not needed.
-Markus 2010/10/20 Ivan Bolčina <[email protected]> > Hi. > > > > Why isnt there a flag in relation like lazy but for eager loading? > > > > *From:* [email protected] [mailto: > [email protected]] *On Behalf Of *Roelof Blom > *Sent:* Tuesday, October 19, 2010 9:07 AM > > *To:* [email protected] > *Subject:* Re: two questions > > > > > http://stw.castleproject.org/Active%20Record.Tuning%20(performance%20improvements).ashx > > On Tue, Oct 19, 2010 at 8:21 AM, Ivan Bolčina <[email protected]> > wrote: > > Wow, nice... How come I didn't find anything in documentation. > > > > Also, is there fetch join in active record? > > > > *From:* [email protected] [mailto: > [email protected]] *On Behalf Of *Roelof Blom > *Sent:* Monday, October 18, 2010 12:52 PM > *To:* [email protected] > *Subject:* Re: two questions > > > > Inline > > On Mon, Oct 18, 2010 at 9:59 AM, Ivan Bolčina <[email protected]> > wrote: > > Hi. > > > > Two questions: > > 1. Is there a LINQ to Caste active record? > > Yes, use the extension methods in > Castle.ActiveRecord.Framework.ActiveRecordLinq, > > or derive from ActiveRecordLinqBase<T> > > 2. What is the best way to write simple queries like »...where name > like '%john%' and age>10« > > use the PredicateBuilder > <http://www.albahari.com/nutshell/predicatebuilder.aspx>class on > the IQueryable supplied by ActiveRecord > > > > Thanks > > > > Ivan Bolčina > SOFTWARE DEVELOPMENT > MANAGER > > [email protected] > > tel: +386 51 680 415 > > > > www.apida.si > > > > > > -- > You received this message because you are subscribed to the Google Groups > "Castle Project Development List" group. > To post to this group, send email to [email protected] > . > To unsubscribe from this group, send email to > [email protected]<castle-project-devel%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/castle-project-devel?hl=en. > > > > -- > You received this message because you are subscribed to the Google Groups > "Castle Project Development List" group. > To post to this group, send email to [email protected] > . > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/castle-project-devel?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Castle Project Development List" group. > To post to this group, send email to [email protected] > . > To unsubscribe from this group, send email to > [email protected]<castle-project-devel%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/castle-project-devel?hl=en. > > > > -- > You received this message because you are subscribed to the Google Groups > "Castle Project Development List" group. > To post to this group, send email to [email protected] > . > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/castle-project-devel?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Castle Project Development List" group. > To post to this group, send email to [email protected] > . > To unsubscribe from this group, send email to > [email protected]<castle-project-devel%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/castle-project-devel?hl=en. > -- You received this message because you are subscribed to the Google Groups "Castle Project Development List" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/castle-project-devel?hl=en.
<<image001.png>>
