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