public class DAL { XElement root = XElement.Load("DataBase.nh"); public List GetAllName() { return root.Elements("Item").ToList 查看完整描述