I have a simple table structure
Images(image_id, image_library_id,...)
Links(link_id, image_id, link_component_code...)
I am trying to perform a simple query using LINQ
var q = from i in Images where i.Link.link_component_code = "x" select i;
However the intellisense in LINQPad doesn't provide the "Link" object in
where i.Link.link_component_code
instead I only get a "Links" object, which is an EntitySet and doesn't go on to list the table fields just methods such as Add, Select, Where etc
However if I do it the other way around
var q = from l in Links where l.Image.image_library_id = 1234 select l;
It works as expected
What is this EntitySet and where am I going wrong?