Наследование: XMLSchema
 internal void ReadXDRSchema(XmlReader reader)
 {
     XmlDocument document = new XmlDocument();
     XmlNode newChild = document.ReadNode(reader);
     document.AppendChild(newChild);
     XDRSchema schema = new XDRSchema(this, false);
     this.DataSetName = document.DocumentElement.LocalName;
     schema.LoadSchema((XmlElement) newChild, this);
 }
Пример #2
0
 internal void ReadXDRSchema(XmlReader reader) {
     XmlDocument xdoc = new XmlDocument(); // we may need this to infer the schema
     XmlNode schNode = xdoc.ReadNode(reader);
     xdoc.AppendChild(schNode);
     XDRSchema schema = new XDRSchema(this, false);
     this.DataSetName = xdoc.DocumentElement.LocalName;
     schema.LoadSchema((XmlElement)schNode, this);
 }