[fluent-nhib] Re: Auto Mapping Override and UseCompositeId

2009-06-18 Thread Will Smith
I suppose the ideal here would be that UseCompositeId would automatically add the key fields to the ignore property list. Perhaps I will dig through the Fluent code to see how to accomplish that. --~--~-~--~~~---~--~~ You received this message because you are subsc

[fluent-nhib] Re: Auto Mapping Override and UseCompositeId

2009-06-18 Thread Will Smith
I kinda stumbled on the solution to my problem. However it's somewhat of a hack. I've confirmed that this code works for Create Read and Update: public void Override( AutoMap mapping ) { mapping.WithTable( "xCoreConfiguration" ); mapping.IgnoreProperty( c