Using Joins in NHibernate 2.1.1.2 through Criteria API?

Simply use the alias you provided to filter on the join. So in your case it's 'foreignkey' So you could do something like.

Simply use the alias you provided to filter on the join. So in your case it's 'foreignkey' So you could do something like criteria. Add(Restrictions.

Eq("foreignkey. Name", "SomeEventName")).

Thanks for the reply. I was previously getting an error due to my mapping errors. If you can refer to my question on stackoverflow.Com/questions/5569551/….

The mapping shown over there is preventing me to join my ParentTable and ChildTable. Would be great if you could help me on the same. – tahoka Apr 6 at 17:26.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions