Re: "Could not determine member type from Constant, True, "

333 views
Skip to first unread message

Ricardo Peres

unread,
May 13, 2013, 9:38:45 AM5/13/13
to nhu...@googlegroups.com
Why don't you try this:

session.QueryOver<model>().Where(param => param.Id == param.Id);


On Friday, May 10, 2013 4:16:44 PM UTC+1, blairal...@gmail.com wrote:
using  NHibernate.dll, v3.3.1.4000
 
try this....
 
 

session.QueryOver<model>().Where(param => true);

 
throws error:
 
Could not determine member type from Constant, True, System.Linq.Expressions.ConstantExpression
 
 
Don't ask why I want to do that... trust me - there is a reason I need to do this related to predicate building.
 
 
 
 
 
 
 
 
 
Reply all
Reply to author
Forward
0 new messages