Hello, in my repository i'm  write

var ret = Session.CreateQuery("from Anagrafica A");
return ret.List<Anagrafica>();


and work fine.
But when replace with this code (query over)


var list = Session.QueryOver<Anagrafica>()
.OrderBy(m => m.RagioneSociale).Asc
.List();
return list;


i get this error


"Late bound operations cannot be performed on types or methods for
which ContainsGenericParameters is true."


What did I do wrong?


regards


Stefano Paparesta


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