1 write to _xmlw
System.Data (1)
fx\src\data\System\Data\xmlsaver.cs (1)
2037_xmlw = DataTextWriter.CreateWriter(xmlw);
43 references to _xmlw
System.Data (43)
fx\src\data\System\Data\xmlsaver.cs (43)
2039_xmlw.WriteStartElement(Keywords.DFF, Keywords.DIFFGRAM, Keywords.DFFNS); 2040_xmlw.WriteAttributeString(Keywords.XMLNS, Keywords.MSD, null, Keywords.MSDNS); 2046new XmlDataTreeWriter(table, this._writeHierarchy).SaveDiffgramData(_xmlw, rowsOrder); 2048new XmlDataTreeWriter(_ds).SaveDiffgramData(_xmlw, rowsOrder); 2064_xmlw.WriteEndElement(); //SQL_BEFORE 2078_xmlw.WriteEndElement(); //ERRORS 2081_xmlw.WriteEndElement(); 2082_xmlw.Flush(); 2110_xmlw.WriteStartElement( Keywords.DFF, Keywords.MSD_ERRORS, Keywords.DFFNS ); 2113_xmlw.WriteStartElement( prefix, row.Table.EncodedTableName, row.Table.Namespace); 2114_xmlw.WriteAttributeString( Keywords.DFF, Keywords.DIFFID, Keywords.DFFNS, row.Table.TableName+row.rowID.ToString(CultureInfo.InvariantCulture)); 2115_xmlw.WriteAttributeString( Keywords.DFF, Keywords.MSD_ERROR, Keywords.DFFNS, row.RowError); 2130_xmlw.WriteStartElement( Keywords.DFF, Keywords.MSD_ERRORS, Keywords.DFFNS ); 2134_xmlw.WriteStartElement( prefix, row.Table.EncodedTableName, row.Table.Namespace); 2135_xmlw.WriteAttributeString( Keywords.DFF, Keywords.DIFFID, Keywords.DFFNS, row.Table.TableName+row.rowID.ToString(CultureInfo.InvariantCulture)); 2141_xmlw.WriteStartElement( columnPrefix, column.EncodedColumnName, column.Namespace); 2142_xmlw.WriteAttributeString( Keywords.DFF, Keywords.MSD_ERROR, Keywords.DFFNS, error); 2144_xmlw.WriteEndElement(); 2150_xmlw.WriteEndElement(); 2160_xmlw.WriteStartElement( Keywords.DFF, Keywords.SQL_BEFORE, Keywords.DFFNS); 2182_xmlw.WriteStartElement( tablePrefix, row.Table.EncodedTableName, row.Table.Namespace); 2184_xmlw.WriteAttributeString( Keywords.DFF, Keywords.DIFFID, Keywords.DFFNS, rowIDString); 2187_xmlw.WriteAttributeString( Keywords.DFF, Keywords.HASERRORS, Keywords.DFFNS, Keywords.TRUE); 2190_xmlw.WriteAttributeString( Keywords.DFF, Keywords.DIFFPID, Keywords.DFFNS, parentId); 2192_xmlw.WriteAttributeString( Keywords.MSD, Keywords.ROWORDER, Keywords.MSDNS, rowsOrder[row].ToString()); 2203_xmlw.WriteEndElement(); //old row 2212_xmlw.WriteAttributeString(Keywords.XSI, Keywords.XSI_NIL, Keywords.XSINS, Keywords.TRUE); 2220_xmlw.WriteAttributeString(colPrefix, col.EncodedColumnName, col.Namespace, value); 2224_xmlw.WriteAttributeString(Keywords.MSD, "hidden"+col.EncodedColumnName, Keywords.MSDNS, value); 2228_xmlw.WriteString(value); 2237_xmlw.WriteStartElement( colPrefix, col.EncodedColumnName, col.Namespace); 2244_xmlw.WriteAttributeString(Keywords.XML, Keywords.SPACE, Keywords.XML_XMLNS, Keywords.PRESERVE); 2247_xmlw.WriteString(value); 2254_xmlw.WriteAttributeString(Keywords.MSD, Keywords.MSD_INSTANCETYPE, Keywords.MSDNS, DataStorage.GetQualifiedName(valuesType)); 2257col.ConvertObjectToXml(columnValue, _xmlw, null); // XmlRootAttribute MUST be passed null 2268col.ConvertObjectToXml(columnValue, _xmlw, xmlAttrib); 2275_xmlw.WriteAttributeString(Keywords.MSD, Keywords.MSD_INSTANCETYPE, Keywords.MSDNS, valuesType.FullName); 2278_xmlw.WriteAttributeString(Keywords.MSD, Keywords.MSD_INSTANCETYPE, Keywords.MSDNS, Keywords.TYPEINSTANCE); 2282_xmlw.WriteAttributeString(Keywords.XSI, Keywords.TYPE, Keywords.XSINS, xsdTypeName); 2283_xmlw.WriteAttributeString (Keywords.XMLNS_XSD, Keywords.XSDNS); 2286_xmlw.WriteString(col.ConvertObjectToXml(columnValue)); 2289col.ConvertObjectToXml(columnValue, _xmlw, null); 2296_xmlw.WriteEndElement();