'CompareObjectEqual' has no supported translation to SQL
Posted: Tue 10 Feb 2009 18:21
Hi
Environment:
I am developing on Windows XP using mySQL 5.0.45
I'm using the Entity Developer 1.0.53 in conjunction with VS2008 (with VB)
I have a standard LINQ query used against different tables in my application which work fine. When I try to use essentially the same query against one particular table, it results in the following error:
method 'CompareObjectEqual' has no supported translation to SQL
The LINQ query is
Dim certD = From cde In dataContext.certdetails _
Where cde.URN = lngcertdetailURN
I have no idea why this would fail here, and not elsewhere in my code when referencing other tables.
Any help would be greatly appreciated.
Environment:
I am developing on Windows XP using mySQL 5.0.45
I'm using the Entity Developer 1.0.53 in conjunction with VS2008 (with VB)
I have a standard LINQ query used against different tables in my application which work fine. When I try to use essentially the same query against one particular table, it results in the following error:
method 'CompareObjectEqual' has no supported translation to SQL
The LINQ query is
Dim certD = From cde In dataContext.certdetails _
Where cde.URN = lngcertdetailURN
I have no idea why this would fail here, and not elsewhere in my code when referencing other tables.
Any help would be greatly appreciated.