Hi,
 
We would want to use that but our proiject using .Net 2.0 and can't shift to 
use .net 3.0 . Any other suggestions? How abt extending nhibernate proxy 
collection, can it solve it and how to go about extending nhibernate proxy 
collection.
 
 
 
Regards,
Ellery


Date: Fri, 20 May 2011 10:14:06 +0200
Subject: Re: [nhusers] nHibernate KeyedList Collectio
From: [email protected]
To: [email protected]

  


Cause we need to use features of the IList interface as well.



Is ordering important? If so, then it is probably best to use IList<T>. The 
'keyed' part can easily be done via linq.


myObject.Values.Single(x=>x.Key="test")


You could ofcourse put this in a method on the MyObject class but the above 
code is something that I often use.




--
Ramon




-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" 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/nhusers?hl=en.
                                          

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" 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/nhusers?hl=en.

Reply via email to