2 writes to _ds
System.Data.Common (2)
System\Data\xmlsaver.cs (2)
2679
_ds
= ds;
2698
_ds
= dt.DataSet;
22 references to _ds
System.Data.Common (22)
System\Data\xmlsaver.cs (22)
2789
Debug.Assert(
_ds
!= null || _dt != null);
2795
string prefix = (
_ds
!= null) ? ((
_ds
.Namespace.Length == 0) ? "" :
_ds
.Prefix) : ((_dt!.Namespace.Length == 0) ? "" : _dt.Prefix);
2797
if (
_ds
== null || string.IsNullOrEmpty(
_ds
.DataSetName))
2800
_xmlw.WriteStartElement(prefix, XmlConvert.EncodeLocalName(
_ds
.DataSetName),
_ds
.Namespace);
2832
Debug.Assert(
_ds
!= null || _dt != null);
2839
string prefix = (
_ds
!= null) ? ((
_ds
.Namespace.Length == 0) ? "" :
_ds
.Prefix) : ((_dt!.Namespace.Length == 0) ? "" : _dt.Prefix);
2841
if (!writeSchema &&
_ds
!= null &&
_ds
._fTopLevelTable && countTopTable == 1)
2843
if (
_ds
.TopLevelTables()[0].Rows.Count == 1)
2849
if (
_ds
== null)
2855
if (string.IsNullOrEmpty(
_ds
.DataSetName))
2856
_xmlw.WriteStartElement(prefix, Keywords.DOCUMENTELEMENT,
_ds
.Namespace);
2858
_xmlw.WriteStartElement(prefix, XmlConvert.EncodeLocalName(
_ds
.DataSetName),
_ds
.Namespace);
2874
new XmlTreeGen(SchemaFormat.Public).Save(
_ds
!, _xmlw);
3077
if (
_ds
!= null)