Hi, this may be a pretty basic questions but I am quite new to NHibernate and feeling a little bit lost. I am building my business layer back powered by NHibernate. I am seeing no way to load child objects against a foreign key. I have googled a lot but unable to find something that comforts me.
Example scenario is that I have an Employee entity having one to many relation with EmployeeAccreditation tables. On my UI screen I need to show accreditation for selected employee. Right now the only way I am seeing it to load employee object and then get accreditations from it. This is a pretty basic scenario and I guess many people may have already came across this situation. Anyhow if i go with loading employee and then accessing its child then how do i perform column based sorting on this. Do I need to write a custom comparer for that purpose. Any help will be appreciated. -- 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.
