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);
2367
new XmlDataTreeWriter(table, _writeHierarchy).SaveDiffgramData(
_xmlw
, _rowsOrder);
2369
new 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));
2613
col.ConvertObjectToXml(columnValue,
_xmlw
, null); // XmlRootAttribute MUST be passed null
2626
col.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));
2653
col.ConvertObjectToXml(columnValue,
_xmlw
, null);
2661
_xmlw
.WriteEndElement();