2 writes to prefixes
System.Data (2)
fx\src\data\System\Data\xmlsaver.cs (2)
500prefixes = new Hashtable(); 808prefixes = new Hashtable();
23 references to prefixes
System.Data (23)
fx\src\data\System\Data\xmlsaver.cs (23)
534prefixes[_ds.Namespace] = null; 538prefixes[_ds.Namespace] = "mstns"; 633node.SetAttribute(Keywords.REF, ((string)prefixes[top[i].Namespace])+':'+top[i].EncodedTableName); 643node.SetAttribute(Keywords.REF, ((string)prefixes[top[i].Namespace])+':'+top[i].EncodedTableName); 701_import.SetAttribute(Keywords.XSD_SCHEMALOCATION, fileName + "_" + prefixes[ns] + ".xsd"); 731xw = new XmlTextWriter(filePath + fileName + "_" + prefixes[ns] + ".xsd", null); 750string prefix = (string) prefixes[imp_ns]; 828prefixes[_ds.Namespace] = null; 833prefixes[_ds.Namespace] = "mstns"; 839prefixes[dt.Namespace] = null; 844prefixes[dt.Namespace] = "mstns"; 1041prefixes[NamespaceURI] = prefix; 1074type = stNode.ToNode(dc, prefixes, (schFormat == SchemaFormat.Remoting)); 1077string prefix = (string) prefixes[nSpace]; 1105type = stNode.ToNode(dc, prefixes, schFormat == SchemaFormat.Remoting); 1279root.SetAttribute( Keywords.REF, prefixes[ col.Namespace]+":"+ col.EncodedColumnName); 1281string prefix = (string)prefixes[col.Namespace]; 1584root.SetAttribute( Keywords.TYPE, NewDiffgramGen.QualifiedName((string)prefixes[table.TypeName.Namespace], table.TypeName.Name) ); 1679NestedTable.SetAttribute( Keywords.REF, ((string)prefixes[childTable.Namespace])+':'+childTable.EncodedTableName); 1710xpathprefix = table.Namespace.Length != 0 ? (string) prefixes[table.Namespace] +':' : String.Empty; 1759encodedName.Append(prefixes[fields[k].Namespace]).Append(':'); 1818encodedName.Append(prefixes[fields[k].Namespace]).Append(':'); 1892encodedName.Append(prefixes[fields[k].Namespace]).Append(':');