protected override void LoadDocument(string filename) { var xmlDocument = new XmlDocument(); xmlDocument.Load(filename); _queries = new QueryCollection(this); foreach (XmlNode node in xmlDocument.SelectNodes(@"xinq/queries/query")) { var query = new Query(this, node); _queries.Add(query); } }
public XinqDocument() { _queries = new QueryCollection(this); }