如何优化此查询并转换为 lambda ?
XElement xde = new XElement("Elements", (from a in rootElement.Elements("Class")
where a.Attribute("Location").Value.Equals("FirstFloor")
select (from b in a.Elements("Subject")
where b.Attribute("Notify").Value.Equals("001")
select b.Elements())));