Can .NET 4 ISet<> HashSet<> replace NHibernate Iesi.Collections ISet , HashSet ? I am using Castle proxy, and NHibernate 3.0 .
Can .NET 4 ISet<> HashSet<> replace NHibernate Iesi.Collections ISet , HashSet ? I am
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No, not as of this reply.
The NHibernate engine uses the
Iesi.Collections.ISetinterface on internal collection classes which are used as wrappers around collections in your classes which NHibernate persists. There is no direct conversion toSystem.Collections.Generic.ISet<T>.Update: NHibernate 4 now uses
HashSet<T>from the BCL internally, andHashedSet<T>has been removed from theIesi.Collectionsdependency. The approach to useSystem.Collections.Generic.ISet<T>is now available.