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

Reply via email to