Simple Query resulting in error

Simple Query resulting in error

Postby Dameion » Thu 14 Jul 2011 15:45

I have written a simple query that is producing the following error "The method is not supported with specified arguments"

The issue I have narrowed down to the where clause of the statement below, however it doesn't make sense to me. The field I am evaluating is a nullable DateTime fields, yet if I evaluate that field for != null I get this error.

var data1 = (from a in context.BATCH_UPLOAD
join b in context.STATUS on a.STAT_ID equals b.STAT_ID
join c in context.COMPONENT on a.COMP_ID equals c.COMP_ID
where a.LAST_UPDATE_TS != null
select a).ToList();
Dameion
 
Posts: 2
Joined: Tue 28 Jun 2011 17:40

Postby StanislavK » Fri 15 Jul 2011 15:36

Thank you for the report, we've reproduced the problem. We will analyze it and inform you about the results.
StanislavK
Devart Team
 
Posts: 1710
Joined: Thu 03 Dec 2009 10:48

Postby StanislavK » Fri 07 Oct 2011 09:48

The fix for this issue is available in the latest 3.0.5 build of LinqConnect. The new build can be downloaded from
http://www.devart.com/linqconnect/download.html
(the trial only) or from Registered Users' Area (for users with active subscription only).

For more information about the fixes and improvements available in LinqConnect 3.0.5, please refer to
http://www.devart.com/forums/viewtopic.php?t=22168
StanislavK
Devart Team
 
Posts: 1710
Joined: Thu 03 Dec 2009 10:48


Return to LinqConnect (LINQ to SQL support)