José,

This simple sample works fine with Linq and QueryOver but I will check
the Linq to NHibernate. The problem is that I don't add the Contact in
the Client.Contacts, just referente the Client in to the Contact:
client.Add(contact1);
client.Add(contact2);

On 26 out, 17:22, José F. Romaniello <[email protected]> wrote:
> 2010/10/26 Max André Bündchen <[email protected]>
>
> > (from c in
> > session.QueryOver<Client>() where c.ClientID == client.ClientID select
> > c).List()[0];
>
> I don't know if this is valid with the QueryOver api, try with the extension
> method query (a.k.a. LINQ To Nhibernate)

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