LINQ Query: How to use WHERE to see if object exists in other query -



LINQ Query: How to use WHERE to see if object exists in other query -

i using linq query various collections of info , trying build linq query checks query form results, illustration code looks this:

dim myfilmresults = _ myfilm in myfilms myfilm.cert (from mycert string in mycertificationfilters select mycert) select myfilm

so explain, wish homecoming collection of films included in mycertificationfilters collection.

any help appreciated!

:)

--edit: need walk away computer , think trying achieve! can accomplish simple bring together below:

dim myfilmresults = _ myfilm in myfilms bring together cert in mycertificationfilters on myfilm.cert equals cert select myfilm

thanks!

linq-to-objects

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

c# - Can ProtoBuf-Net deserialize to a flat class? -

javascript - Change element in each JQuery tab to dynamically generated colors -