60 references to SchemaFormat
System.Data.Common (60)
System\Data\DataSet.cs (20)
1493(new XmlTreeGen(SchemaFormat.Public)).Save(this, writer); 1514(new XmlTreeGen(SchemaFormat.RemotingSkipSchema)).Save(this, writer); 1518(new XmlTreeGen(SchemaFormat.Remoting)).Save(this, writer); 1524(new XmlTreeGen(SchemaFormat.Remoting)).Save(table, writer); 1920public void WriteXmlSchema(Stream? stream) => WriteXmlSchema(stream, SchemaFormat.Public, null); 1930WriteXmlSchema(stream, SchemaFormat.Public, multipleTargetConverter); 1937public void WriteXmlSchema(string fileName) => WriteXmlSchema(fileName, SchemaFormat.Public, null); 1947WriteXmlSchema(fileName, SchemaFormat.Public, multipleTargetConverter); 1954public void WriteXmlSchema(TextWriter? writer) => WriteXmlSchema(writer, SchemaFormat.Public, null); 1964WriteXmlSchema(writer, SchemaFormat.Public, multipleTargetConverter); 1971public void WriteXmlSchema(XmlWriter? writer) => WriteXmlSchema(writer, SchemaFormat.Public, null); 1981WriteXmlSchema(writer, SchemaFormat.Public, multipleTargetConverter); 1986private void WriteXmlSchema(string fileName, SchemaFormat schemaFormat, Converter<Type, string>? multipleTargetConverter) 2004private void WriteXmlSchema(Stream? stream, SchemaFormat schemaFormat, Converter<Type, string>? multipleTargetConverter) 2019private void WriteXmlSchema(TextWriter? writer, SchemaFormat schemaFormat, Converter<Type, string>? multipleTargetConverter) 2034private void WriteXmlSchema(XmlWriter? writer, SchemaFormat schemaFormat, Converter<Type, string>? multipleTargetConverter) 2043if (schemaFormat == SchemaFormat.WebService && 2047treeGen = new XmlTreeGen(SchemaFormat.WebServiceSkipSchema); 3544(new XmlTreeGen(SchemaFormat.WebService)).Save(ds, writer); 3605WriteXmlSchema(writer, SchemaFormat.WebService, null);
System\Data\DataTable.cs (2)
5603XmlTreeGen treeGen = new XmlTreeGen(SchemaFormat.Public); 6732new XmlTreeGen(SchemaFormat.WebService).Save(this, writer);
System\Data\xmlsaver.cs (38)
43private readonly SchemaFormat _schFormat = SchemaFormat.Public; 56internal XmlTreeGen(SchemaFormat format) 609if (_schFormat == SchemaFormat.Remoting) 621if (_schFormat != SchemaFormat.Remoting) 644if (_schFormat != SchemaFormat.Remoting) 663if (top.Length == 0 || _schFormat == SchemaFormat.WebServiceSkipSchema || _schFormat == SchemaFormat.RemotingSkipSchema) 699if (((_ds != null) && (_ds.Namespace == top[i].Namespace)) || string.IsNullOrEmpty(top[i].Namespace) || (_schFormat == SchemaFormat.Remoting)) 739if ((_ds != null && _ds.Namespace == top[i].Namespace) || string.IsNullOrEmpty(top[i].Namespace) || (_schFormat == SchemaFormat.Remoting)) 809if (_schFormat != SchemaFormat.Remoting && _schFormat != SchemaFormat.RemotingSkipSchema) 820if (_schFormat != SchemaFormat.WebService && !isMultipleNamespaceAndStreamingWriter) 826if (_schFormat != SchemaFormat.WebService && isMultipleNamespaceAndStreamingWriter) 832if (_schFormat != SchemaFormat.WebService && isMultipleNamespaceAndStreamingWriter) 890if (_schFormat != SchemaFormat.WebService && !isMultipleNamespaceAndStreamingWriter) 901if (_schFormat != SchemaFormat.WebService && isMultipleNamespaceAndStreamingWriter) 953if (_schFormat != SchemaFormat.Remoting) 968if (_schFormat != SchemaFormat.Remoting) 1113if (_schFormat == SchemaFormat.Public) 1143if (_schFormat == SchemaFormat.Public) 1147if (_schFormat == SchemaFormat.WebServiceSkipSchema && xw.WriteState == WriteState.Element) 1263string nSpace = (_schFormat != SchemaFormat.Remoting) ? stNode.Namespace : 1273type = stNode.ToNode(dc, _prefixes, (_schFormat == SchemaFormat.Remoting)); 1281if (_schFormat != SchemaFormat.Remoting) 1310type = stNode.ToNode(dc, _prefixes, _schFormat == SchemaFormat.Remoting); 1507if (_schFormat == SchemaFormat.Remoting) 1720if (_schFormat != SchemaFormat.Remoting) 1737if (((table.DataSet == null) || (_ds != null && table.Namespace != _ds.Namespace)) && (_schFormat == SchemaFormat.Remoting)) 1837if (!table.TypeName.IsEmpty && _schFormat != SchemaFormat.Remoting) 1860if (_schFormat != SchemaFormat.Remoting) 1954if ((childTable.Namespace == table.Namespace) || (childTable.Namespace.Length == 0) || _schFormat == SchemaFormat.Remoting) 1990if (_schFormat != SchemaFormat.Remoting) 2041if (_schFormat != SchemaFormat.Remoting) 2109if (_schFormat != SchemaFormat.Remoting) 2193if (_schFormat != SchemaFormat.Remoting) 2891new XmlTreeGen(SchemaFormat.Public).Save(_ds!, _xmlw); 2895new XmlTreeGen(SchemaFormat.Public).Save(null, _dt!, _xmlw, _writeHierarchy);