I have two different needs
1 - Apply Distinct() on a IEnumerable<SomeProxiedEntity>
2 - Compare two SomeProxiedEntities retrieved in different sessions without
explicitly referencing the Id.

It looks like I'll have to use the Id. Does anybody know of a better
solution?

   Diego


On Thu, Nov 19, 2009 at 15:36, Roger Kratz <[email protected]> wrote:

> Yes.
>
> (
> Don't know what you're trying to do/why you ask, but if you've thought
> about it like I did, you might want to look at...
> http://nhjira.koah.net/browse/NH-1768
> )
>
> /Roger
>
>
> ________________________________
> Från: [email protected] [[email protected]] för Diego
> Mijelshon [[email protected]]
> Skickat: den 19 november 2009 19:24
> Till: [email protected]
> Ämne: [nhusers] Overriding GetHashCode and Lazy Loading
>
> Calling GetHashCode on an proxy for a class where this method has been
> overriden (for example, by inheriting from uNhAddIns.Entities.Entity) causes
> NHibernate to load it from the DB.
> Is this behavior expected?
>
>   Diego
>
> --
>
> 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]<nhusers%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/nhusers?hl=.
>
> --
>
> 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]<nhusers%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/nhusers?hl=.
>
>
>

--

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=.


Reply via email to