Page 1 of 1

(DateTime field).value==DateTime.Now stops response?

Posted: Tue 24 Mar 2009 01:11
by wangmjj
e.g.
var employee=from _employee in _db.Employes
where _employee.birthay.value==null
select _employee;
The above statement when the program stops responding when VS.NET.
----------------------------------
The following fragment can run:
var employee=from _employee in _db.Employes
where _employee.birthay.value.ToString()==null
select _employee;

Posted: Tue 24 Mar 2009 09:41
by AndreyR
We can't reproduce this problem using dotConnect for Oracle 5.20 Beta.
Just a tip: the code you provided looks a bit redundant - it should be enough to check only whether _employee.birthay == null.