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

Discussion of open issues, suggestions and bugs regarding LinqConnect – Devart's LINQ to SQL compatible ORM
Post Reply
wangmjj
Posts: 22
Joined: Tue 03 Jun 2008 12:25

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

Post by wangmjj » Tue 24 Mar 2009 01:11

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;

AndreyR
Devart Team
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Post by AndreyR » Tue 24 Mar 2009 09:41

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.

Post Reply