Hello guys...

I have a class A, with object B inside, that have a C with property
"x"...
So, I have to get objectA.B.C.x...

I tried using that :

var criteria = Session.CreateCriteria(typeof(A))
                .Add(Expression.Eq("B.C.x", "value"));

But I got error ("could not resolve property: B.C.x of: A")...

 Is that possible to do that kind of search withou using several
"Alias" ?

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