Re: [fluent-nhib] Conversion to new Conventions

2010-03-24 Thread James Gregory
No idea why you'd be getting that issue; however, it seems like you're only using the conventions to set the primary and foreign key names. You should look at the ForeignKeyConvention class that's provided. As for the pri

[fluent-nhib] Conversion to new Conventions

2010-03-24 Thread sianabanana
I am trying to convert over to new conventions I used to use these conventions GetPrimaryKeyNameFromType = type => type.Name + "Id", GetManyToManyTableName = (parent, child) => parent.Name + "_" + child.Name, GetForeignKeyNameOfParent = type => type.Name + "Id", GetForeignKeyName = type => type.N