What version of FNH are you running? I'd recommend upgrading to 1.0RC On Thu, Aug 20, 2009 at 1:24 AM, nicholas craig <[email protected]>wrote:
> > We have been trying to use a comosite key mapping as shown below : > > WithTable( "A_INSURANCE_COMPANY_ADDRESS" ); > > UseCompositeId() > .WithKeyProperty( x => x.AdminSetID, > "ADMIN_SET_ID" ) > .WithKeyProperty( x => x.AddressID, > "ADDRESS_ID" ); > > using the auto mapping generator but on running the code , we are > getting the error as below : > > "The element 'class' in namespace "urn : nhibernate - mapping 2.2 has > invalid child element "composite id " in namespace 'urn :nhibernate - > mapping 2.2 ' , list of possible elements expected 'discrimator . > natural id , vesrion , time stamp ............" > Kindly suggest on the same > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
