By default if you compare two dates in a LINQ2SQL query, the resulting SQL will be
DATEDIFF(MILLISECOND, .....)
which requires using BIGINT as well and usually some CONVERT calls depending on what you're doing. As an example, try looking at the SQL output if you write
(DateTime1 - DateTime2).Days
It's a mess!
I would just like to call DATEDIFF(DAY, ...) for example. Is this possible?