--
You received this message because you are subscribed to the Google Groups "Fluent NHibernate" group.
To view this discussion on the web visit https://groups.google.com/d/msg/fluent-nhibernate/-/N7dARRmza00J.
To post to this group, send email to fluent-n...@googlegroups.com.
To unsubscribe from this group, send email to fluent-nhibern...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/fluent-nhibernate?hl=en.
10x
--
You received this message because you are subscribed to the Google Groups "Fluent NHibernate" group.
To view this discussion on the web visit https://groups.google.com/d/msg/fluent-nhibernate/-/V2mXUTLIoawJ.
That's right, CustomType is not for creating entity associations. The type that I suggested is for mapping a list of things that is stored in a single database column. It would work fine for IList<Guid>. But if what you want is a one-to-many association, HasMany is the correct way to map that.On Thursday, May 10, 2012 at 1:33 PM, mynkow wrote:
Actually this will not work. I am not able to set custom type for ont-to-many or many-to-many.May be I should say that the list of Guids is a list of PKs of product. Normally the mapping which is working isHasMany<Product>(x=>x.Products)--
You received this message because you are subscribed to the Google Groups "Fluent NHibernate" group.
To view this discussion on the web visit https://groups.google.com/d/msg/fluent-nhibernate/-/V2mXUTLIoawJ.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to fluent-nhibernate+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/fluent-nhibernate/-/fKTilMfKW9IJ.
To post to this group, send email to fluent-n...@googlegroups.com.
To unsubscribe from this group, send email to fluent-nhibern...@googlegroups.com.