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;
Code: Select all
var query = from t in DB.Table1
where t.Column1 == null
select t;