My bad, I read ordering, not sorting. Apologies for the unhelpful answer.
Sorting is only available on maps and sets, there's an overload to the AsMap
and AsSet methods that take a SortType parameter.


On Tue, Aug 18, 2009 at 12:19 PM, Jeffrey Zhao <[email protected]> wrote:

>  I cannot find any alternatives for sorting, maybe I should download the
> code and make an patch for it.
>
>
> Jeffrey Zhao
> Blog: http://www.cnblogs.com/JeffreyZhao
> Twitter: http://twitter.com/jeffz_cn
>
>  *From:* James Gregory <[email protected]>
> *Sent:* Tuesday, August 18, 2009 7:14 PM
> *To:* [email protected]
> *Subject:* [fluent-nhib] Re: Missing SetAttribute method in
> FluentNHibernate 1.0 RC?
>
> See the release notes <http://wiki.fluentnhibernate.org/Release_notes_1.0>,
> second bullet point under Fluent Mappings; then try using intellisense, it's
> a lifesaver.
>
> 2009/8/18 Jeffrey Zhao <[email protected]>
>
>>
>> I've upgraded to FluentNHibernate 1.0 RC but find that the SetAttribute
>> method is missing in OneToManyPart<T> (and some other types).
>>
>> I used SetAttribute for the "sort" attribute of one-to-may mapping. How
>> can
>> I do with RC?
>>
>>
>> Jeffrey Zhao
>> Blog: http://www.cnblogs.com/JeffreyZhao
>> Twitter: http://twitter.com/jeffz_cn
>>
>>
>>
>>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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