I am trying to build a query in LINQ for EF5. My model has set up an Association with two foreign keys, shippingcompanycontacts with a contactid and a shippingcompanyid. There is no intellisense for that "table" (it shows up as a table in mySQL) I tried accessing the data this way to no avail. ( I hard coded the id)
Dim testquery = (From s In ctx.shippingcompanies Where s.Id = 1 Join
c In ctx.contacts On s.Id Equals c.Id Select New With {c.LastName}).ToList()
I really need to access the association table but there is no intellisense for it