2 writes to _prefixes
System.Data.Common (2)
System\Data\xmlsaver.cs (2)
584_prefixes = new Hashtable(); 951_prefixes = new Hashtable();
25 references to _prefixes
System.Data.Common (25)
System\Data\xmlsaver.cs (25)
627_prefixes[_ds.Namespace] = null; 632_prefixes[_ds.Namespace] = "mstns"; 742node.SetAttribute(Keywords.REF, ((string)_prefixes[top[i].Namespace]!) + ':' + top[i].EncodedTableName); 753node.SetAttribute(Keywords.REF, ((string)_prefixes[top[i].Namespace]!) + ':' + top[i].EncodedTableName); 822_import.SetAttribute(Keywords.XSD_SCHEMALOCATION, _fileName + "_" + _prefixes[ns] + ".xsd"); 858xw = new XmlTextWriter(_filePath + _fileName + "_" + _prefixes[ns] + ".xsd", null); 881string? prefix = (string?)_prefixes[imp_ns]; 975_prefixes[_ds.Namespace] = null; 981_prefixes[_ds.Namespace] = "mstns"; 989_prefixes[dt.Namespace] = null; 995_prefixes[dt.Namespace] = "mstns"; 1234_prefixes![NamespaceURI] = prefix; 1243Debug.Assert(_prefixes != null); 1273type = stNode.ToNode(dc, _prefixes, (_schFormat == SchemaFormat.Remoting)); 1277string? prefix = (string?)_prefixes[nSpace]; 1310type = stNode.ToNode(dc, _prefixes, _schFormat == SchemaFormat.Remoting); 1425Debug.Assert(_prefixes != null); 1517root.SetAttribute(Keywords.REF, _prefixes[col.Namespace] + ":" + col.EncodedColumnName); 1729Debug.Assert(_prefixes != null); 1861root.SetAttribute(Keywords.TYPE, NewDiffgramGen.QualifiedName((string)_prefixes[table.TypeName.Namespace]!, table.TypeName.Name)); 1963NestedTable.SetAttribute(Keywords.REF, ((string)_prefixes[childTable.Namespace]!) + ':' + childTable.EncodedTableName); 1993xpathprefix = table.Namespace.Length != 0 ? (string)_prefixes[table.Namespace]! + ':' : string.Empty; 2046encodedName.Append(_prefixes[fields[k].Namespace]).Append(':'); 2114encodedName.Append(_prefixes[fields[k].Namespace]).Append(':'); 2198encodedName.Append(_prefixes[fields[k].Namespace]).Append(':');