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)
2805
Debug.Assert(
_ds
!= null || _dt != null);
2811
string prefix = (
_ds
!= null) ? ((
_ds
.Namespace.Length == 0) ? "" :
_ds
.Prefix) : ((_dt!.Namespace.Length == 0) ? "" : _dt.Prefix);
2813
if (
_ds
== null || string.IsNullOrEmpty(
_ds
.DataSetName))
2816
_xmlw.WriteStartElement(prefix, XmlConvert.EncodeLocalName(
_ds
.DataSetName),
_ds
.Namespace);
2849
Debug.Assert(
_ds
!= null || _dt != null);
2856
string prefix = (
_ds
!= null) ? ((
_ds
.Namespace.Length == 0) ? "" :
_ds
.Prefix) : ((_dt!.Namespace.Length == 0) ? "" : _dt.Prefix);
2858
if (!writeSchema &&
_ds
!= null &&
_ds
._fTopLevelTable && countTopTable == 1)
2860
if (
_ds
.TopLevelTables()[0].Rows.Count == 1)
2866
if (
_ds
== null)
2872
if (string.IsNullOrEmpty(
_ds
.DataSetName))
2873
_xmlw.WriteStartElement(prefix, Keywords.DOCUMENTELEMENT,
_ds
.Namespace);
2875
_xmlw.WriteStartElement(prefix, XmlConvert.EncodeLocalName(
_ds
.DataSetName),
_ds
.Namespace);
2891
new XmlTreeGen(SchemaFormat.Public).Save(
_ds
!, _xmlw);
3095
if (
_ds
!= null)