var ss=from o in Orders from od in OrderDetails.Where(od=>od.OrderId == od.OrderId) from c in Courses.Where(c=>c.CourseId == od.CourseId) from cs in CourseSections.Where(cs => cs.CourseId == c.CourseId) where o.SellerUserId == 10040 && (o…
https://www.linqpad.net/ 使用 LINQPad 调试linq以及lambda表达式 http://www.studyofnet.com/news/1168.html linq 转化XML , 可以方便地把XML导出为CSV var path = @"d:\temp\note.xml";var doc = XDocument.Load(path);doc.Dump(); var q = from x in doc.Elements()select new {nam…