In theory it sounds ok, but wouldn't that mean your entities would have to
be aware of FNH?

On Wed, Aug 5, 2009 at 3:11 PM, johnvpetersen <[email protected]>wrote:

>
> I wanted to come up with a generic way to deal with the Equals() and
> GetHashCode() methods in the event a composite key is used. I figured
> if I could iterate through a collection, in the event a composite key
> was involved, I could write a generic piece of code.
>
> JP
>
> On Aug 5, 9:40 am, James Gregory <[email protected]> wrote:
> > For what purpose?
> >
> > On Wed, Aug 5, 2009 at 2:33 PM, johnvpetersen <[email protected]
> >wrote:
> >
> >
> >
> >
> >
> > > This one has me stumped. Is it possible, through an instance of a
> > > mapping class, to fetch (iterate through) the individual parts of a
> > > composite key?- Hide quoted text -
> >
> > - Show quoted text -
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" 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/fluent-nhibernate?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to