On Wed, Apr 28, 2010 at 10:11 PM, James Gregory <[email protected]> wrote:
> Nope, but you can look at the source for the many-to-many
> step: http://github.com/jagregory/fluent-nhibernate/blob/master/src/FluentNHibernate/Automapping/AutoMapManyToMany.cs
> If MapsProperty returns true, that property is mapped as a many-to-many. The
> rule is if the property is a generic collection, and the generic argument
> type has a property that can be considered the inverse end of the
> relationship (a generic collection of the parent). It should cover most
> cases.
>

Ok thank you :)
I'm certainly gonna try to add a rules like "if property is not in the
same assembly then it's many-to-many"

-- 
Yann

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