Java Mailing List Archive

Home » the NHibernate development list »

[NHibernate-development] Accepting HashSet<T> for unwrapped sets

Ayende Rahien


Author LoginPost Reply
Right now, NH requires that the instance  of <set> would be an implementation of ISet / ISet<T>.
It occurred to me that we don't really need this. We can state that for ICollection<T>, we accept HashSet<T>, which would satisfy the set requirement, and allow us to drop the compile time reference from the domain model to iesi.collections.
For that matter, we can do it for list<T> / collection<T>, to support net 2.0 as ell.

This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
Nhibernate-development mailing list
©2008 - Jax Systems, LLC, U.S.A.