Skip to content

Instantly share code, notes, and snippets.

@pragmaticobjects
Created September 2, 2011 19:38
Show Gist options
  • Select an option

  • Save pragmaticobjects/1189659 to your computer and use it in GitHub Desktop.

Select an option

Save pragmaticobjects/1189659 to your computer and use it in GitHub Desktop.
linq join that works
var results2 = from c in CustomerDataContext.CUSTOMERs
join o in CustomerDataContext.GetTable<PO>()
on c.ID equals o.ID
select new { c.ID, c.NAME, o.PRODUCT };
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment