Most probably you miss Expression over your datetime dateTimeSelector predicate.
Tried to comment all: . OrderBy(dateTimeSelector) . Skip(startIndex - 1) .
Take(count), and it didn't help – user1065869 Dec 3 '11 at 15:18 how your example call looks like? – Wiktor Zychla Dec 3 '11 at 15:42 The problem was that I wrote short condition in the expression: as ((a == null)? True : a > b) NH casting fails on that (?) – user1065869 Dec 3 '11 at 15:53 Probably.
Try something trivial like a > be and it should work. When it fails at specific conditions (like yours) it means that there's no obvious translation of the expression to SQL (hibernate linq is not able to handle it). – Wiktor Zychla Dec 3 '11 at 16:13.
True : a > b) NH casting fails on that (?).
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.