I think you can try first load Codes object and the load salesrep
object, and add ti to Codes.Salesrep collection,

using(ISession sess = new ....)
{
//load Codes object
//load Salesrep for codes object
}

Nhibernate has composite-id, but it is used for multiple columns.

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

Reply via email to