I am using LINQ to query on a set created using EF Code First.
The code below produces an ArgumentException with the message "DbArithmeticExpression arguments must have a numeric common type."
var result = set.Any(item => item.val);
// where set is a DBSet<mytype> and mytype.val is a bool.
Jacob
Added after comments:
The original query is:
var set = table.where(item => DateTime.Now() < item.date + item.interval);
// where .date is a DateTime and .interval is a Timespan
Jacob