Hello,
I am new to NHibernate. I am trying to map entries in my symbol table back to my members class. Since the ID of the symbol table entry is being stored as a column in the members table, a one-to-one mapping does not appear to work. What I would like to do is achieve something like:
Member objMember = objSession.Find(typeof(Member), 0);
Symbol objSymbolMale = objSession.Find(<male symbol>);
objMember.Gender = objSymbolMale;
objSession.Update(objMember);
Or something to that affect. Any ideas?
Thanks,
Chris
|