3 writes to _ds
System.Data.Common (3)
System\Data\xmlsaver.cs (3)
560
_ds
= ds;
572
_ds
= dt.DataSet;
947
_ds
= dt.DataSet;
56 references to _ds
System.Data.Common (56)
System\Data\xmlsaver.cs (56)
397
if ((
_ds
!= null) && (HaveExtendedProperties(
_ds
)))
591
if (
_ds
!= null)
593
rootSchema.SetAttribute(Keywords.XSDID, XmlConvert.EncodeLocalName(
_ds
.DataSetName));
599
if (
_ds
!= null)
601
WriteSchemaRoot(rootSchema,
_ds
.Namespace);
611
if (
_ds
!= null)
613
_namespaces[
_ds
.Namespace] = rootSchema;
623
if (
_ds
!= null)
625
_namespaces[
_ds
.Namespace] = rootSchema;
626
if (
_ds
.Namespace.Length == 0)
627
_prefixes[
_ds
.Namespace] = null;
631
rootSchema.SetAttribute(Keywords.XMLNS_MSTNS,
_ds
.Namespace);
632
_prefixes[
_ds
.Namespace] = "mstns";
669
AddXdoProperties(
_ds
, _dsElement);
689
if (
_ds
!= null)
691
AddXdoProperties(
_ds
, _dsElement);
692
AddExtendedProperties(
_ds
._extendedProperties, _dsElement);
699
if (((
_ds
!= null) && (
_ds
.Namespace == top[i].Namespace)) || string.IsNullOrEmpty(top[i].Namespace) || (_schFormat == SchemaFormat.Remoting))
703
if (((
_ds
!= null) && (
_ds
.Namespace.Length != 0)) && string.IsNullOrEmpty(top[i].Namespace))
739
if ((
_ds
!= null &&
_ds
.Namespace == top[i].Namespace) || string.IsNullOrEmpty(top[i].Namespace) || (_schFormat == SchemaFormat.Remoting))
814
if (ns == ((
_ds
!= null) ?
_ds
.Namespace : _dt.Namespace) || string.IsNullOrEmpty(ns))
845
if (ns == ((
_ds
!= null) ?
_ds
.Namespace : _dt.Namespace) || string.IsNullOrEmpty(ns))
892
if (imp_ns == ((
_ds
!= null) ?
_ds
.Namespace : _dt.Namespace))
970
if (
_ds
!= null)
972
_namespaces[
_ds
.Namespace] = rootSchema;
973
if (
_ds
.Namespace.Length == 0)
975
_prefixes[
_ds
.Namespace] = null;
980
rootSchema.SetAttribute(Keywords.XMLNS_MSTNS,
_ds
.Namespace);
981
_prefixes[
_ds
.Namespace] = "mstns";
1164
if ((
_ds
== null) || (
_ds
.Tables.InternalIndexOf(rel.ParentKey.Table.TableName) == -3))
1167
if ((
_ds
== null) || (
_ds
.Tables.InternalIndexOf(rel.ChildKey.Table.TableName) == -3))
1415
tgNamespace =
_ds
!.Namespace;
1518
if (col.Table.Namespace !=
_ds
!.Namespace)
1737
if (((table.DataSet == null) || (
_ds
!= null && table.Namespace !=
_ds
.Namespace)) && (_schFormat == SchemaFormat.Remoting))
1752
tgNamespace = (
_ds
!= null) ?
_ds
.Namespace : "";
1842
if (
_ds
== null)
1845
typeSchema = fUnqualified ? GetSchema(
_ds
.Namespace) : GetSchema(table.Namespace);
1989
string xpathprefix = (
_ds
!= null) ? (
_ds
.Namespace.Length != 0 ? Keywords.MSTNS_PREFIX : string.Empty) : string.Empty;
2012
if ((
_ds
== null) || (
_ds
.Tables.InternalIndexOf(table.TableName) == -3))
2094
if ((
_ds
== null) || (
_ds
.Tables.InternalIndexOf(table.TableName) == -3))
2140
if ((
_ds
== null) || (
_ds
.Tables.InternalIndexOf(foreign.RelatedTable.TableName) == -3)) // if there is a conflicting name/namespace only