New issue 325 by itsnatet...@gmail.com: The binary operator GreaterThan is
not defined for the types 'System.Int32' and 'System.Int64'.
http://code.google.com/p/dblinq2007/issues/detail?id=325
What steps will reproduce the problem?
1. Create table with column named 'Count' of type 'Int64'
2. Use it in any part of the query
Example
[Table]
class Foo
{
[Column]
public string Bar;
[Column]
public long Count;
}
var count = (from f in db.Foo
where f.Bar == "Fred"
&& f.Count > Convert.ToInt64(0L)
select f).FirstOrDefault();
What is the expected output? What do you see instead?
If used in where predicate:
The binary operator GreaterThan is not defined for the
types 'System.Int32' and 'System.Int64'.
(see dblinq-stack.txt)
What version of the product are you using? On what operating system?
DbLinq: 0.20.0.0
Attachments:
dblinq-stack.txt 7.8 KB
Incase it matters:
MySql.Data 6.4.4.0
NET v4.0.30319