-
Type: Bug
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
None
Try to use any condition in Where clause with parameter set to null:
string prm = null; var results = _db.Planets.Where(p => p.name == prm).ToArray();
the following exception raised:
System.InvalidOperationException: The operands for operator 'Equal' do not match the parameters of method 'op_Equality'.