Please can somebody help me convert this MySQL query in to Entity Framework? Im using that in an ASP .NET project but I only know how to do basic queries in Entity Framework. This seems way too complicated and I cant find a working solution since many hours now...
$rs = mysql_query("SELECT barcode,latitude,longitude,date_time,location_name
FROM sDetails
JOIN users on (users.id=sDetails.UserId)
WHERE (latitude and longitude is not null)
and (latitude <> 100000 and longitude <> 100000)
and id='$UserId'
ORDER BY date_time desc");