3 writes to _ds
System.Data.Common (3)
System\Data\xmlsaver.cs (3)
559
_ds
= ds;
571
_ds
= dt.DataSet;
945
_ds
= dt.DataSet;
56 references to _ds
System.Data.Common (56)
System\Data\xmlsaver.cs (56)
397
if ((
_ds
!= null) && (HaveExtendedProperties(
_ds
)))
590
if (
_ds
!= null)
592
rootSchema.SetAttribute(Keywords.XSDID, XmlConvert.EncodeLocalName(
_ds
.DataSetName));
598
if (
_ds
!= null)
600
WriteSchemaRoot(rootSchema,
_ds
.Namespace);
610
if (
_ds
!= null)
612
_namespaces[
_ds
.Namespace] = rootSchema;
622
if (
_ds
!= null)
624
_namespaces[
_ds
.Namespace] = rootSchema;
625
if (
_ds
.Namespace.Length == 0)
626
_prefixes[
_ds
.Namespace] = null;
630
rootSchema.SetAttribute(Keywords.XMLNS_MSTNS,
_ds
.Namespace);
631
_prefixes[
_ds
.Namespace] = "mstns";
668
AddXdoProperties(
_ds
, _dsElement);
688
if (
_ds
!= null)
690
AddXdoProperties(
_ds
, _dsElement);
691
AddExtendedProperties(
_ds
._extendedProperties, _dsElement);
698
if (((
_ds
!= null) && (
_ds
.Namespace == top[i].Namespace)) || string.IsNullOrEmpty(top[i].Namespace) || (_schFormat == SchemaFormat.Remoting))
702
if (((
_ds
!= null) && (
_ds
.Namespace.Length != 0)) && string.IsNullOrEmpty(top[i].Namespace))
738
if ((
_ds
!= null &&
_ds
.Namespace == top[i].Namespace) || string.IsNullOrEmpty(top[i].Namespace) || (_schFormat == SchemaFormat.Remoting))
813
if (ns == ((
_ds
!= null) ?
_ds
.Namespace : _dt.Namespace) || string.IsNullOrEmpty(ns))
844
if (ns == ((
_ds
!= null) ?
_ds
.Namespace : _dt.Namespace) || string.IsNullOrEmpty(ns))
891
if (imp_ns == ((
_ds
!= null) ?
_ds
.Namespace : _dt.Namespace))
968
if (
_ds
!= null)
970
_namespaces[
_ds
.Namespace] = rootSchema;
971
if (
_ds
.Namespace.Length == 0)
973
_prefixes[
_ds
.Namespace] = null;
978
rootSchema.SetAttribute(Keywords.XMLNS_MSTNS,
_ds
.Namespace);
979
_prefixes[
_ds
.Namespace] = "mstns";
1157
if ((
_ds
== null) || (
_ds
.Tables.InternalIndexOf(rel.ParentKey.Table.TableName) == -3))
1160
if ((
_ds
== null) || (
_ds
.Tables.InternalIndexOf(rel.ChildKey.Table.TableName) == -3))
1408
tgNamespace =
_ds
!.Namespace;
1510
if (col.Table.Namespace !=
_ds
!.Namespace)
1727
if (((table.DataSet == null) || (
_ds
!= null && table.Namespace !=
_ds
.Namespace)) && (_schFormat == SchemaFormat.Remoting))
1742
tgNamespace = (
_ds
!= null) ?
_ds
.Namespace : "";
1832
if (
_ds
== null)
1835
typeSchema = fUnqualified ? GetSchema(
_ds
.Namespace) : GetSchema(table.Namespace);
1979
string xpathprefix = (
_ds
!= null) ? (
_ds
.Namespace.Length != 0 ? Keywords.MSTNS_PREFIX : string.Empty) : string.Empty;
2002
if ((
_ds
== null) || (
_ds
.Tables.InternalIndexOf(table.TableName) == -3))
2084
if ((
_ds
== null) || (
_ds
.Tables.InternalIndexOf(table.TableName) == -3))
2130
if ((
_ds
== null) || (
_ds
.Tables.InternalIndexOf(foreign.RelatedTable.TableName) == -3)) // if there is a conflicting name/namespace only