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);
2046
new XmlDataTreeWriter(table, this._writeHierarchy).SaveDiffgramData(
_xmlw
, rowsOrder);
2048
new 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));
2257
col.ConvertObjectToXml(columnValue,
_xmlw
, null); // XmlRootAttribute MUST be passed null
2268
col.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));
2289
col.ConvertObjectToXml(columnValue,
_xmlw
, null);
2296
_xmlw
.WriteEndElement();