By criteria, do you mean the criteria specified by the "on" or the
"where"?  And what is the alternative?  Surely, people are joining
tables in linq2nh? Even the join statement without "where" criteria
has the same error:  (from conversation in Items
                    join message in Messages on conversation equals
message.Conversation
                    select message)

On Feb 3, 1:57 pm, Tuna Toksoz <[email protected]> wrote:
> There is no way you can do it with criteria so it's not supported in Linq2NH
> neither.
>
> Tuna Toksözhttp://tunatoksoz.comhttp://twitter.com/tehlike
>
> Typos included to enhance the readers attention!
>
> On Tue, Feb 3, 2009 at 11:47 PM, Joe B <[email protected]> wrote:
>
> > So my question is "What is the appropriate way to join two related
> > tables in nHibernate?"  My workaround forces two calls to the db,

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to