The name that you have used to send this mail ( SexualChocolate ) is inappropriate and *it is not even funny*. I hope the guys in this forum answer you with the same level of seriousness.
2011/7/12 SexualChocolate <[email protected]> > Trying out the new ConventionModelMapper (just awesome, btw), and > can't get the following to work correctly: > > mapper.BeforeMapManyToOne += (insp, typ, map) => > map.Column(typ.LocalMember.GetPropertyOrFieldType().Name + "Id"); > > Let's say for example that I have a 'Order' object which has a > 'Currency' property in a many to one relationship. I want the > following schema: > > create table Order( > [other columns] > CurrencyId INT > ) > > But when I apply the above code it's generating: > > create table Order( > [other columns] > CurrencyId INT > Currency INT > ) > > Am I going about this incorrectly or is this a bug? > > Thank you in advance > > -- > You received this message because you are subscribed to the Google Groups > "nhusers" 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/nhusers?hl=en. > > -- You received this message because you are subscribed to the Google Groups "nhusers" 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/nhusers?hl=en.
