Hello,

I am in the process of upgrading to the Fluent 1.0RC and and stuck on
my IHasManyToManyConvention convention.  I can't seem to figure out
how to update ParentKeyColumn and ChildKeyColumn.  Below is my
original version.

        public void Apply(IManyToManyPart target)
        {
            if (target.TableName ==  null)
                target.WithTableName(target.EntityType.Name +
target.ChildType.Name);
            if (target.ParentKeyColumn == null)
                target.WithParentKeyColumn(target.EntityType.Name +
"ID");
            if (target.ChildKeyColumn == null)
                target.WithChildKeyColumn(target.ChildType.Name +
"ID");
        }

Thanks in advance,
Chris

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