Does the ordered set really need a special interface? I don't think so and 
that makes it possible to fully rely on .NET BCL interfaces from now on and 
eliminate the need for using custom collection interfaces.
With that, none of your entities need to expose NHibernate- or 
Iesi-specific constructs to the public any more. So at least the public 
signature would be clean without dependencies to NHibernate no matter what 
decision is taken in this discussion.
 
 

Am Montag, 8. Oktober 2012 12:43:01 UTC+2 schrieb Ramon Smits:

>
> I would favor option 2 as your domain/entity model should not target a 
> specific persistance framework. It should consist of generic interfaces and 
> an IOrderedCollection interface or something like that should not be part 
> of the NHibernate framework.
>
> -- Ramon
>
>

Reply via email to