2 writes to _prefixes
System.Data.Common (2)
System\Data\xmlsaver.cs (2)
583_prefixes = new Hashtable(); 949_prefixes = new Hashtable();
25 references to _prefixes
System.Data.Common (25)
System\Data\xmlsaver.cs (25)
626_prefixes[_ds.Namespace] = null; 631_prefixes[_ds.Namespace] = "mstns"; 741node.SetAttribute(Keywords.REF, ((string)_prefixes[top[i].Namespace]!) + ':' + top[i].EncodedTableName); 752node.SetAttribute(Keywords.REF, ((string)_prefixes[top[i].Namespace]!) + ':' + top[i].EncodedTableName); 821_import.SetAttribute(Keywords.XSD_SCHEMALOCATION, _fileName + "_" + _prefixes[ns] + ".xsd"); 857xw = new XmlTextWriter(_filePath + _fileName + "_" + _prefixes[ns] + ".xsd", null); 880string? prefix = (string?)_prefixes[imp_ns]; 973_prefixes[_ds.Namespace] = null; 979_prefixes[_ds.Namespace] = "mstns"; 987_prefixes[dt.Namespace] = null; 993_prefixes[dt.Namespace] = "mstns"; 1227_prefixes![NamespaceURI] = prefix; 1236Debug.Assert(_prefixes != null); 1266type = stNode.ToNode(dc, _prefixes, (_schFormat == SchemaFormat.Remoting)); 1270string? prefix = (string?)_prefixes[nSpace]; 1303type = stNode.ToNode(dc, _prefixes, _schFormat == SchemaFormat.Remoting); 1417Debug.Assert(_prefixes != null); 1509root.SetAttribute(Keywords.REF, _prefixes[col.Namespace] + ":" + col.EncodedColumnName); 1719Debug.Assert(_prefixes != null); 1851root.SetAttribute(Keywords.TYPE, NewDiffgramGen.QualifiedName((string)_prefixes[table.TypeName.Namespace]!, table.TypeName.Name)); 1953NestedTable.SetAttribute(Keywords.REF, ((string)_prefixes[childTable.Namespace]!) + ':' + childTable.EncodedTableName); 1983xpathprefix = table.Namespace.Length != 0 ? (string)_prefixes[table.Namespace]! + ':' : string.Empty; 2036encodedName.Append(_prefixes[fields[k].Namespace]).Append(':'); 2104encodedName.Append(_prefixes[fields[k].Namespace]).Append(':'); 2188encodedName.Append(_prefixes[fields[k].Namespace]).Append(':');