Hi,

Maybe I missed something critical but this simple select over
QueryOver raises "Could not determine member from u" exception:

var query = Session.QueryOver<User>();
var res = query.Select(u => u).List();

where User is an entity type.

So I can`t select overall type used in the QueryOver generic
definition?
I`m using this select because in my repository class I have methods
like XXX(Expression<T,bool> where, Expression<T,T> select) and an
overload XXX(Expression<T,bool> where) which passed 'u=>u' as the
select parameter value to the base method.

Should I control this situation and don`t add the Select method call
in this case?

Thanks in advance.

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