Can i join two tables using LINQ开发者_JS百科 for NHibernate like I can do in LINQ To SQL?
ok, i got some weird tag for having this question un-answered! so im gonna post an answer myself :) . the thing is LINQ to Nhibernate is not mature enough to handle this. Hopefully it will be available in a next release.
This question was from several years ago.
I just wanted to note for anyone running across it that you can do joins with linq and it works. Also if you set up the relationships in the models you often don't even need to specify the join, nHibernate works it out from the fields you are projecting into the resultset.
精彩评论