1 write to _xmlw
System.Data.Common (1)
System\Data\xmlsaver.cs (1)
2357_xmlw = DataTextWriter.CreateWriter(xmlw);
43 references to _xmlw
System.Data.Common (43)
System\Data\xmlsaver.cs (43)
2359_xmlw.WriteStartElement(Keywords.DFF, Keywords.DIFFGRAM, Keywords.DFFNS); 2360_xmlw.WriteAttributeString(Keywords.XMLNS, Keywords.MSD, null, Keywords.MSDNS); 2367new XmlDataTreeWriter(table, _writeHierarchy).SaveDiffgramData(_xmlw, _rowsOrder); 2369new XmlDataTreeWriter(_ds!).SaveDiffgramData(_xmlw, _rowsOrder); 2389_xmlw.WriteEndElement(); //SQL_BEFORE 2407_xmlw.WriteEndElement(); //ERRORS 2410_xmlw.WriteEndElement(); 2411_xmlw.Flush(); 2446_xmlw.WriteStartElement(Keywords.DFF, Keywords.MSD_ERRORS, Keywords.DFFNS); 2449_xmlw.WriteStartElement(prefix, row.Table.EncodedTableName, row.Table.Namespace); 2450_xmlw.WriteAttributeString(Keywords.DFF, Keywords.DIFFID, Keywords.DFFNS, row.Table.TableName + row.rowID.ToString(CultureInfo.InvariantCulture)); 2451_xmlw.WriteAttributeString(Keywords.DFF, Keywords.MSD_ERROR, Keywords.DFFNS, row.RowError); 2470_xmlw.WriteStartElement(Keywords.DFF, Keywords.MSD_ERRORS, Keywords.DFFNS); 2474_xmlw.WriteStartElement(prefix, row.Table.EncodedTableName, row.Table.Namespace); 2475_xmlw.WriteAttributeString(Keywords.DFF, Keywords.DIFFID, Keywords.DFFNS, row.Table.TableName + row.rowID.ToString(CultureInfo.InvariantCulture)); 2480_xmlw.WriteStartElement(columnPrefix, column.EncodedColumnName, column.Namespace); 2481_xmlw.WriteAttributeString(Keywords.DFF, Keywords.MSD_ERROR, Keywords.DFFNS, error); 2483_xmlw.WriteEndElement(); 2487_xmlw.WriteEndElement(); 2502_xmlw.WriteStartElement(Keywords.DFF, Keywords.SQL_BEFORE, Keywords.DFFNS); 2523_xmlw.WriteStartElement(tablePrefix, row.Table.EncodedTableName, row.Table.Namespace); 2525_xmlw.WriteAttributeString(Keywords.DFF, Keywords.DIFFID, Keywords.DFFNS, rowIDString); 2528_xmlw.WriteAttributeString(Keywords.DFF, Keywords.HASERRORS, Keywords.DFFNS, Keywords.TRUE); 2531_xmlw.WriteAttributeString(Keywords.DFF, Keywords.DIFFPID, Keywords.DFFNS, parentId); 2533_xmlw.WriteAttributeString(Keywords.MSD, Keywords.ROWORDER, Keywords.MSDNS, _rowsOrder[row]!.ToString()); 2546_xmlw.WriteEndElement(); //old row 2559_xmlw.WriteAttributeString(Keywords.XSI, Keywords.XSI_NIL, Keywords.XSINS, Keywords.TRUE); 2567_xmlw.WriteAttributeString(colPrefix, col.EncodedColumnName, col.Namespace, value); 2571_xmlw.WriteAttributeString(Keywords.MSD, "hidden" + col.EncodedColumnName, Keywords.MSDNS, value); 2575_xmlw.WriteString(value); 2585_xmlw.WriteStartElement(colPrefix, col.EncodedColumnName, col.Namespace); 2595_xmlw.WriteAttributeString(Keywords.XML, Keywords.SPACE, Keywords.XML_XMLNS, Keywords.PRESERVE); 2598_xmlw.WriteString(value); 2609_xmlw.WriteAttributeString(Keywords.MSD, Keywords.MSD_INSTANCETYPE, Keywords.MSDNS, DataStorage.GetQualifiedName(valuesType)); 2613col.ConvertObjectToXml(columnValue, _xmlw, null); // XmlRootAttribute MUST be passed null 2626col.ConvertObjectToXml(columnValue, _xmlw, xmlAttrib); 2635_xmlw.WriteAttributeString(Keywords.MSD, Keywords.MSD_INSTANCETYPE, Keywords.MSDNS, valuesType.FullName); 2639_xmlw.WriteAttributeString(Keywords.MSD, Keywords.MSD_INSTANCETYPE, Keywords.MSDNS, Keywords.TYPEINSTANCE); 2644_xmlw.WriteAttributeString(Keywords.XSI, Keywords.TYPE, Keywords.XSINS, xsdTypeName); 2645_xmlw.WriteAttributeString(Keywords.XSD_PREFIX, Keywords.XMLNS, Keywords.XSDNS, xsdTypeName); 2649_xmlw.WriteString(col.ConvertObjectToXml(columnValue)); 2653col.ConvertObjectToXml(columnValue, _xmlw, null); 2661_xmlw.WriteEndElement();