Page 1 of 1

Nullable object problem with new beta version

Posted: Fri 19 Feb 2010 15:59
by dilbert
Thank you for fixing bugs from previous beta version.
Unfortunately, I have found new one in the latest version of dotConnect for MySql (5.70.97.0). Quite a strange problem with nullable variables.

With the following code I got NullReferenceExceptions:

Code: Select all

int? idObject = null;
var query = from t in DB.Table1
where t.Column1 == idObject
select t;
If I don't use nullable objects, the query is OK:

Code: Select all

var query = from t in DB.Table1
where t.Column1 == null
select t;

Posted: Mon 22 Feb 2010 12:13
by AndreyR
Thank you for the report, we have reproduced the problem.
I will let you know as soon as it is fixed.

Posted: Wed 03 Mar 2010 15:14
by AndreyR
The problem is fixed, look forward to the nearest build.