NHibernate QueryOver Issue
- by Yoann. B
Hi,
I've a query that works well with the NH 3.0 LINQ Provider but not with the QueryOver API.
I got a "could not resolve property : Profile.Customer.CustomerId" Exception
var query = Session.QueryOver<Suggest>()
.Where(p => p.Profile.Customer.CustomerId == customerId)
.And(p => p.Job.Customer.CustomerId != customerId);
var total = query.RowCount();
Any help ?
Thanks.