2 writes to _xmlw
System.Data (2)
fx\src\data\System\Data\xmlsaver.cs (2)
2424
_xmlw
= DataTextWriter.CreateWriter(xw);
2463
_xmlw
= DataTextWriter.CreateWriter(xw);
35 references to _xmlw
System.Data (35)
fx\src\data\System\Data\xmlsaver.cs (35)
2433
_xmlw
.WriteStartElement(prefix, Keywords.DOCUMENTELEMENT, ( _dt.Namespace == null) ? "":_dt.Namespace);
2435
_xmlw
.WriteStartElement(prefix, XmlConvert.EncodeLocalName(_ds.DataSetName), _ds.Namespace);
2456
_xmlw
.WriteEndElement();
2457
_xmlw
.Flush();
2478
_xmlw
.WriteStartElement(prefix, Keywords.DOCUMENTELEMENT, _dt.Namespace);
2482
_xmlw
.WriteStartElement(prefix, Keywords.DOCUMENTELEMENT, _ds.Namespace);
2484
_xmlw
.WriteStartElement(prefix, XmlConvert.EncodeLocalName(_ds.DataSetName), _ds.Namespace);
2489
_xmlw
.WriteAttributeString(Keywords.XMLNS, Keywords.XSI, Keywords.XSD_XMLNS_NS, Keywords.XSINS);
2496
new XmlTreeGen(SchemaFormat.Public).Save(_ds,
_xmlw
);
2499
new XmlTreeGen(SchemaFormat.Public).Save( null, _dt,
_xmlw
, this._writeHierarchy);
2521
_xmlw
.WriteEndElement();
2522
_xmlw
.Flush();
2542
_xmlw
.WriteStartElement(prefix, encodedTableName, row.Table.Namespace);
2545
_xmlw
.WriteAttributeString( Keywords.DFF, Keywords.DIFFID, Keywords.DFFNS, row.Table.TableName+row.rowID.ToString(CultureInfo.InvariantCulture));
2547
_xmlw
.WriteAttributeString( Keywords.MSD, Keywords.ROWORDER, Keywords.MSDNS, rowsOrder[row].ToString());
2550
_xmlw
.WriteAttributeString( Keywords.DFF, Keywords.HASCHANGES, Keywords.DFFNS, Keywords.INSERTED);
2553
_xmlw
.WriteAttributeString( Keywords.DFF, Keywords.HASCHANGES, Keywords.DFFNS, Keywords.MODIFIED);
2557
_xmlw
.WriteAttributeString( Keywords.DFF, Keywords.HASERRORS, Keywords.DFFNS, Keywords.TRUE);
2574
_xmlw
.WriteAttributeString(colPrefix, col.EncodedColumnName, col.Namespace, col.ConvertObjectToXml(value));
2587
_xmlw
.WriteAttributeString(Keywords.MSD, "hidden"+col.EncodedColumnName, Keywords.MSDNS, col.ConvertObjectToXml(value));
2601
_xmlw
.WriteAttributeString(Keywords.XSI, Keywords.XSI_NIL, Keywords.XSINS, Keywords.TRUE);
2608
_xmlw
.WriteStartElement(colPrefix, col.EncodedColumnName, col.Namespace);
2617
_xmlw
.WriteAttributeString(Keywords.XML, Keywords.SPACE, Keywords.XML_XMLNS, Keywords.PRESERVE);
2620
_xmlw
.WriteString(col.ConvertObjectToXml(value));
2627
_xmlw
.WriteAttributeString(Keywords.MSD, Keywords.MSD_INSTANCETYPE, Keywords.MSDNS, DataStorage.GetQualifiedName(valuesType));
2630
col.ConvertObjectToXml(value,
_xmlw
, null); // pass XmlRootAttribute as null, it also means: No XmlSerializer
2640
col.ConvertObjectToXml(value,
_xmlw
, xmlAttrib);
2646
_xmlw
.WriteAttributeString(Keywords.MSD, Keywords.MSD_INSTANCETYPE, Keywords.MSDNS, valuesType.FullName);
2649
_xmlw
.WriteAttributeString(Keywords.MSD, Keywords.MSD_INSTANCETYPE, Keywords.MSDNS, Keywords.TYPEINSTANCE);
2653
_xmlw
.WriteAttributeString(Keywords.XSI, Keywords.TYPE, Keywords.XSINS, xsdTypeName);
2654
_xmlw
.WriteAttributeString (Keywords.XMLNS_XSD, Keywords.XSDNS);
2657
_xmlw
.WriteString(col.ConvertObjectToXml(value));
2660
col.ConvertObjectToXml(value,
_xmlw
, null);
2665
_xmlw
.WriteEndElement();
2677
_xmlw
.WriteEndElement();