S
shapper
Hello,
I have the following Linq:
IEnumerable<XElement> _files = files.Root.Elements("File").Where(b =>
b.Element("FileId").Value == ???);
Basically I need to select all files which FileId exists in _products
being _products the following:
IEnumerable<XElement> _products = products.Root.Elements
("Product").Where(p => p.Element("BrandId").Value == id.ToString());
I am just not sure how can I make this.
How should I do it?
Thanks,
Miguel
I have the following Linq:
IEnumerable<XElement> _files = files.Root.Elements("File").Where(b =>
b.Element("FileId").Value == ???);
Basically I need to select all files which FileId exists in _products
being _products the following:
IEnumerable<XElement> _products = products.Root.Elements
("Product").Where(p => p.Element("BrandId").Value == id.ToString());
I am just not sure how can I make this.
How should I do it?
Thanks,
Miguel