Java Mailing List Archive

http://www.gg3721.com/

Home » the NHibernate development list »

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

Ayende Rahien

2008-10-09


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.

Thoughts?
-------------------------------------------------------------------------
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
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Nhibernate-development mailing list
Nhibernate-development@(protected)
https://lists.sourceforge.net/lists/listinfo/nhibernate-development
©2008 gg3721.com - Jax Systems, LLC, U.S.A.