Did you try adding .Not.Lazy() ?
Also, ca you send us the query that has the N+1 problem ?
--
*Mohamed Meligy*
Senior Developer, Microsoft Technologies - Technical Delivery Group
Injazat Data Systems
P.O. Box: 8230, Abu Dhabi, U.A.E. (*GMT+4*)**

Direct:     +971   2 4045385
Mobile:    +971 50 2623624, +971 55 2017 621
Email:     [email protected]
Weblog:  *http://gurustop.net*



On Fri, Jul 16, 2010 at 6:27 PM, Fabio Maulo <[email protected]> wrote:

> With the info you sent us "can't figure out what to do."
>
>
> On Fri, Jul 16, 2010 at 10:57 AM, Sam <[email protected]> wrote:
>
>> I have an N+1 issue that happens on a property and can't figure out
>> what to do.
>>
>> HasManyToMany<Facility>(x => x.Facilities)
>>                .Table("UGRXFAC").BatchSize(30)
>>                .ParentKeyColumn("UGRID")
>>                                .ChildKeyColumn("FACID")
>>                                .Access.CamelCaseField(Prefix.Underscore)
>>                                .NotFound.Ignore()
>>                .AsBag();
>>                    ;
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "nhusers" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<nhusers%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/nhusers?hl=en.
>>
>>
>
>
> --
> Fabio Maulo
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "nhusers" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<nhusers%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/nhusers?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" 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/nhusers?hl=en.

Reply via email to