Found the answer to my own question... Its on CollectionMappings [...].Key.ColumnIterator
On 2 okt, 00:18, patrickdk <[email protected]> wrote: > Hello, > > Hopefully someone can help me with this; > > For a property (from nhibernate.cfg.configuration object), which is a > collection (IList), I'm trying to find out how the foreign key is > mapped. > > For ordinary properties I can inspect columniterator which tells me > the column names. For my collection property, columniterator stays > empty. Am I looking in the wrong place? > > The reason I need this is because I'm trying to reach the property on > the bidirectional (other) end of my association. (from A.collection => > B.reference) > > How do I retrieve the foreign key columnname from the mapped property > (bag)? > > TIA, > > Patrick --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
