2 writes to _ds
System.Data.Common (2)
System\Data\xmlsaver.cs (2)
2694_ds = ds; 2713_ds = dt.DataSet;
22 references to _ds
System.Data.Common (22)
System\Data\xmlsaver.cs (22)
2805Debug.Assert(_ds != null || _dt != null); 2811string prefix = (_ds != null) ? ((_ds.Namespace.Length == 0) ? "" : _ds.Prefix) : ((_dt!.Namespace.Length == 0) ? "" : _dt.Prefix); 2813if (_ds == null || string.IsNullOrEmpty(_ds.DataSetName)) 2816_xmlw.WriteStartElement(prefix, XmlConvert.EncodeLocalName(_ds.DataSetName), _ds.Namespace); 2849Debug.Assert(_ds != null || _dt != null); 2856string prefix = (_ds != null) ? ((_ds.Namespace.Length == 0) ? "" : _ds.Prefix) : ((_dt!.Namespace.Length == 0) ? "" : _dt.Prefix); 2858if (!writeSchema && _ds != null && _ds._fTopLevelTable && countTopTable == 1) 2860if (_ds.TopLevelTables()[0].Rows.Count == 1) 2866if (_ds == null) 2872if (string.IsNullOrEmpty(_ds.DataSetName)) 2873_xmlw.WriteStartElement(prefix, Keywords.DOCUMENTELEMENT, _ds.Namespace); 2875_xmlw.WriteStartElement(prefix, XmlConvert.EncodeLocalName(_ds.DataSetName), _ds.Namespace); 2891new XmlTreeGen(SchemaFormat.Public).Save(_ds!, _xmlw); 3095if (_ds != null)