8 writes to Namespace
System.Data.Common (8)
System\Data\DataSet.cs (1)
1164ds.Namespace = Namespace;
System\Data\DataTable.cs (3)
5429ds.Namespace = Namespace; 5596ds.Namespace = Namespace; 6585dataset.Namespace = ds.Namespace;
System\Data\XDRSchema.cs (1)
47ds.Namespace = _schemaUri;
System\Data\XMLSchema.cs (3)
846ds.Namespace = ds.Tables[0].Namespace; 854ds.Namespace = schemaRoot.TargetNamespace; 2617_ds.Namespace = dsNamespace;
44 references to Namespace
System.Data.Common (44)
System\Data\DataSet.cs (4)
511info.AddValue("DataSet.Namespace", Namespace); 766DataTable? conflicting = Tables[value, Namespace]; 790RaisePropertyChanging(nameof(Namespace)); 1164ds.Namespace = Namespace;
System\Data\DataTable.cs (3)
285tempDSNamespace = _dataSet.Namespace; 1889return DataSet.Namespace; 6585dataset.Namespace = ds.Namespace;
System\Data\xmlsaver.cs (30)
601WriteSchemaRoot(rootSchema, _ds.Namespace); 613_namespaces[_ds.Namespace] = rootSchema; 625_namespaces[_ds.Namespace] = rootSchema; 626if (_ds.Namespace.Length == 0) 627_prefixes[_ds.Namespace] = null; 631rootSchema.SetAttribute(Keywords.XMLNS_MSTNS, _ds.Namespace); 632_prefixes[_ds.Namespace] = "mstns"; 699if (((_ds != null) && (_ds.Namespace == top[i].Namespace)) || string.IsNullOrEmpty(top[i].Namespace) || (_schFormat == SchemaFormat.Remoting)) 703if (((_ds != null) && (_ds.Namespace.Length != 0)) && string.IsNullOrEmpty(top[i].Namespace)) 739if ((_ds != null && _ds.Namespace == top[i].Namespace) || string.IsNullOrEmpty(top[i].Namespace) || (_schFormat == SchemaFormat.Remoting)) 814if (ns == ((_ds != null) ? _ds.Namespace : _dt.Namespace) || string.IsNullOrEmpty(ns)) 845if (ns == ((_ds != null) ? _ds.Namespace : _dt.Namespace) || string.IsNullOrEmpty(ns)) 892if (imp_ns == ((_ds != null) ? _ds.Namespace : _dt.Namespace)) 972_namespaces[_ds.Namespace] = rootSchema; 973if (_ds.Namespace.Length == 0) 975_prefixes[_ds.Namespace] = null; 980rootSchema.SetAttribute(Keywords.XMLNS_MSTNS, _ds.Namespace); 981_prefixes[_ds.Namespace] = "mstns"; 1264(col.Table!.DataSet != null ? col.Table.DataSet.Namespace : col.Table.Namespace); 1415tgNamespace = _ds!.Namespace; 1518if (col.Table.Namespace != _ds!.Namespace) 1737if (((table.DataSet == null) || (_ds != null && table.Namespace != _ds.Namespace)) && (_schFormat == SchemaFormat.Remoting)) 1752tgNamespace = (_ds != null) ? _ds.Namespace : ""; 1845typeSchema = fUnqualified ? GetSchema(_ds.Namespace) : GetSchema(table.Namespace); 1989string xpathprefix = (_ds != null) ? (_ds.Namespace.Length != 0 ? Keywords.MSTNS_PREFIX : string.Empty) : string.Empty; 2811string prefix = (_ds != null) ? ((_ds.Namespace.Length == 0) ? "" : _ds.Prefix) : ((_dt!.Namespace.Length == 0) ? "" : _dt.Prefix); 2816_xmlw.WriteStartElement(prefix, XmlConvert.EncodeLocalName(_ds.DataSetName), _ds.Namespace); 2856string prefix = (_ds != null) ? ((_ds.Namespace.Length == 0) ? "" : _ds.Prefix) : ((_dt!.Namespace.Length == 0) ? "" : _dt.Prefix); 2873_xmlw.WriteStartElement(prefix, Keywords.DOCUMENTELEMENT, _ds.Namespace); 2875_xmlw.WriteStartElement(prefix, XmlConvert.EncodeLocalName(_ds.DataSetName), _ds.Namespace);
System\Data\XMLSchema.cs (3)
812if (dt.NestedParentRelations.Length == 0 && dt.Namespace == ds.Namespace) 828DataTable? tmpTable = ds.Tables[ds.DataSetName, ds.Namespace]; 2620_ds.Prefix = GetPrefix(_ds.Namespace);
System\Data\XmlToDatasetMap.cs (2)
295nameTable.Get(dataSet.Namespace) ?? // Attempt to look up DataSet namespace in the name table 296nameTable.Add(dataSet.Namespace); // Found? Nope. Add it
System\Xml\XmlDataDocument.cs (2)
467docelem = new XmlBoundElement(string.Empty, docElemName, DataSet.Namespace ?? string.Empty, this); 3143if (dt.Namespace != ds.Namespace)