I appreciate the work you're putting in. Collections are currently a bit of
a mess, and it's on the roadmap to straighten them out so we can do
collection-type specific alterations. Until that point, what you've done is
in keeping with how the rest of FNH collections work, so it's fine.
I'll take a look at your commits when I get home tonight.

On Thu, Jul 16, 2009 at 3:53 PM, Lee Henson <[email protected]> wrote:

>
> I couldn't see a way to assign a value to the sort attribute on sets,
> so I've added some overloads to AsSet() and AsMap().
>
> ICollectionRelationship AsSet(SortType sort);
> ICollectionRelationship AsSet<TComparer>() where TComparer :
> IComparer;
> ICollectionRelationship AsMap(string indexColumnName, SortType sort);
> ICollectionRelationship AsMap<TIndex>(string indexColumnName, SortType
> sort);
> ICollectionRelationship AsMap<TIndex, TComparer>(string
> indexColumnName) where TComparer : IComparer;
>
> See:
>
>
> http://github.com/leemhenson/fluent-nhibernate/commit/3750f9234d70924212846a0439e88b74cbe4e330
>
> It feels a little mucky, but I couldn't see any other easy way to
> extend just the set + map syntaxes.
>
> Cheers
> Lee
> >
>

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