Example #1
0
 private void LoadRecords(XElement xml)
 {
     foreach (XElement recordNode in xml.Element("table").Element("records").Elements("record"))
     {
         var record = RecordFactory.CreateInstance(Application, this, Columns, recordNode);
         Records.Add(record);
     }
 }
Example #2
0
        private void LoadRecords(XPathNavigator xml)
        {
            var recordNodes = xml.Select("/qdbapi/table/records/record");

            foreach (XPathNavigator recordNode in recordNodes)
            {
                var record = RecordFactory.CreateInstance(Application, this, Columns, recordNode);
                Records.Add(record);
            }
        }
Example #3
0
 public IQRecord NewRecord()
 {
     return(RecordFactory.CreateInstance(Application, this, Columns));
 }