Yeah thats the best approach I can currently think of. And if someone
decides to call Not.ExtraLazy(), they are just asking for trouble :)

On Mon, Jan 11, 2010 at 10:51 PM, Martin Hornagold
<[email protected]> wrote:
> This will probably go against the grain, but ..
> Personally I think it would be best to leave Lazy() alone and just
> create another method ExtraLazy()
>
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Paul Batum
> Sent: 11 January 2010 11:44
> To: fluent-nhibernate
> Subject: Re: [fluent-nhib] Lazy="extra"
>
> I am not aware of any plans to add support for this particular feature,
> beyond our general goal of eventually supporting NH's full feature set.
> I expect this feature would be reasonably straightforward to add - the
> trickiest bit would be figuring out how to expose it on the fluent
> interface (as it changes lazy from a boolean value to a tri state
> value).
>
> Here is the wiki page on contributing (hint hint :D )
> http://wiki.fluentnhibernate.org/Contributing
>
>
> On Tue, Jan 5, 2010 at 11:06 PM, Henning <[email protected]> wrote:
>> Hi
>>
>> I've just noticed that NHibernate 2.1 has a new lazy loading feature
>> that is more context sensitive. If I call myList.Count it will fire a
>> select count(*) query to the database instead of loading up the entire
>
>> list of entities and running a count on those. The way to use that
>> feature in regular hbm files is to use lazy="extra" in many-to-one
>> mappings.
>>
>> I'd like to use that feature but it seems that Fluent nhibernate does
>> not support that mapping feature as of today (verified by checking the
>
>> source in github). Is there any plans on supporting this feature?
>> Fluent only supports true/false (bool) at the moment.
>>
>> --
>>
>> You received this message because you are subscribed to the Google
> Groups "Fluent NHibernate" 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/fluent-nhibernate?hl=en.
>>
>>
>>
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Fluent NHibernate" 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/fluent-nhibernate?hl=en.
>
>
>
>
-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" 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/fluent-nhibernate?hl=en.


Reply via email to