Thursday, May 7, 2015

Linq to get data from another list

I think this article here:

http://ift.tt/1IjsCe2

Explains use of join pretty well with an example.

Something like:

var MatchedCategories = from cat in CategoryList
            join itm in ItemList
            on cat.ID equals itm.CategoryID


Hope that helps.

Technet articles: Uneventful MVVM; All my Technet Articles

No comments:

Post a Comment