1 write to _xmlw
System.Data.Common (1)
System\Data\xmlsaver.cs (1)
2345_xmlw = DataTextWriter.CreateWriter(xmlw);
43 references to _xmlw
System.Data.Common (43)
System\Data\xmlsaver.cs (43)
2347_xmlw.WriteStartElement(Keywords.DFF, Keywords.DIFFGRAM, Keywords.DFFNS); 2348_xmlw.WriteAttributeString(Keywords.XMLNS, Keywords.MSD, null, Keywords.MSDNS); 2355new XmlDataTreeWriter(table, _writeHierarchy).SaveDiffgramData(_xmlw, _rowsOrder); 2357new XmlDataTreeWriter(_ds!).SaveDiffgramData(_xmlw, _rowsOrder); 2377_xmlw.WriteEndElement(); //SQL_BEFORE 2395_xmlw.WriteEndElement(); //ERRORS 2398_xmlw.WriteEndElement(); 2399_xmlw.Flush(); 2433_xmlw.WriteStartElement(Keywords.DFF, Keywords.MSD_ERRORS, Keywords.DFFNS); 2436_xmlw.WriteStartElement(prefix, row.Table.EncodedTableName, row.Table.Namespace); 2437_xmlw.WriteAttributeString(Keywords.DFF, Keywords.DIFFID, Keywords.DFFNS, row.Table.TableName + row.rowID.ToString(CultureInfo.InvariantCulture)); 2438_xmlw.WriteAttributeString(Keywords.DFF, Keywords.MSD_ERROR, Keywords.DFFNS, row.RowError); 2457_xmlw.WriteStartElement(Keywords.DFF, Keywords.MSD_ERRORS, Keywords.DFFNS); 2461_xmlw.WriteStartElement(prefix, row.Table.EncodedTableName, row.Table.Namespace); 2462_xmlw.WriteAttributeString(Keywords.DFF, Keywords.DIFFID, Keywords.DFFNS, row.Table.TableName + row.rowID.ToString(CultureInfo.InvariantCulture)); 2467_xmlw.WriteStartElement(columnPrefix, column.EncodedColumnName, column.Namespace); 2468_xmlw.WriteAttributeString(Keywords.DFF, Keywords.MSD_ERROR, Keywords.DFFNS, error); 2470_xmlw.WriteEndElement(); 2474_xmlw.WriteEndElement(); 2488_xmlw.WriteStartElement(Keywords.DFF, Keywords.SQL_BEFORE, Keywords.DFFNS); 2509_xmlw.WriteStartElement(tablePrefix, row.Table.EncodedTableName, row.Table.Namespace); 2511_xmlw.WriteAttributeString(Keywords.DFF, Keywords.DIFFID, Keywords.DFFNS, rowIDString); 2514_xmlw.WriteAttributeString(Keywords.DFF, Keywords.HASERRORS, Keywords.DFFNS, Keywords.TRUE); 2517_xmlw.WriteAttributeString(Keywords.DFF, Keywords.DIFFPID, Keywords.DFFNS, parentId); 2519_xmlw.WriteAttributeString(Keywords.MSD, Keywords.ROWORDER, Keywords.MSDNS, _rowsOrder[row]!.ToString()); 2532_xmlw.WriteEndElement(); //old row 2544_xmlw.WriteAttributeString(Keywords.XSI, Keywords.XSI_NIL, Keywords.XSINS, Keywords.TRUE); 2552_xmlw.WriteAttributeString(colPrefix, col.EncodedColumnName, col.Namespace, value); 2556_xmlw.WriteAttributeString(Keywords.MSD, "hidden" + col.EncodedColumnName, Keywords.MSDNS, value); 2560_xmlw.WriteString(value); 2570_xmlw.WriteStartElement(colPrefix, col.EncodedColumnName, col.Namespace); 2580_xmlw.WriteAttributeString(Keywords.XML, Keywords.SPACE, Keywords.XML_XMLNS, Keywords.PRESERVE); 2583_xmlw.WriteString(value); 2594_xmlw.WriteAttributeString(Keywords.MSD, Keywords.MSD_INSTANCETYPE, Keywords.MSDNS, DataStorage.GetQualifiedName(valuesType)); 2598col.ConvertObjectToXml(columnValue, _xmlw, null); // XmlRootAttribute MUST be passed null 2611col.ConvertObjectToXml(columnValue, _xmlw, xmlAttrib); 2620_xmlw.WriteAttributeString(Keywords.MSD, Keywords.MSD_INSTANCETYPE, Keywords.MSDNS, valuesType.FullName); 2624_xmlw.WriteAttributeString(Keywords.MSD, Keywords.MSD_INSTANCETYPE, Keywords.MSDNS, Keywords.TYPEINSTANCE); 2629_xmlw.WriteAttributeString(Keywords.XSI, Keywords.TYPE, Keywords.XSINS, xsdTypeName); 2630_xmlw.WriteAttributeString(Keywords.XSD_PREFIX, Keywords.XMLNS, Keywords.XSDNS, xsdTypeName); 2634_xmlw.WriteString(col.ConvertObjectToXml(columnValue)); 2638col.ConvertObjectToXml(columnValue, _xmlw, null); 2646_xmlw.WriteEndElement();