60 references to SchemaFormat
System.Data.Common (60)
System\Data\DataSet.cs (20)
1490(new XmlTreeGen(SchemaFormat.Public)).Save(this, writer); 1511(new XmlTreeGen(SchemaFormat.RemotingSkipSchema)).Save(this, writer); 1515(new XmlTreeGen(SchemaFormat.Remoting)).Save(this, writer); 1521(new XmlTreeGen(SchemaFormat.Remoting)).Save(table, writer); 1917public void WriteXmlSchema(Stream? stream) => WriteXmlSchema(stream, SchemaFormat.Public, null); 1927WriteXmlSchema(stream, SchemaFormat.Public, multipleTargetConverter); 1934public void WriteXmlSchema(string fileName) => WriteXmlSchema(fileName, SchemaFormat.Public, null); 1944WriteXmlSchema(fileName, SchemaFormat.Public, multipleTargetConverter); 1951public void WriteXmlSchema(TextWriter? writer) => WriteXmlSchema(writer, SchemaFormat.Public, null); 1961WriteXmlSchema(writer, SchemaFormat.Public, multipleTargetConverter); 1968public void WriteXmlSchema(XmlWriter? writer) => WriteXmlSchema(writer, SchemaFormat.Public, null); 1978WriteXmlSchema(writer, SchemaFormat.Public, multipleTargetConverter); 1983private void WriteXmlSchema(string fileName, SchemaFormat schemaFormat, Converter<Type, string>? multipleTargetConverter) 2001private void WriteXmlSchema(Stream? stream, SchemaFormat schemaFormat, Converter<Type, string>? multipleTargetConverter) 2016private void WriteXmlSchema(TextWriter? writer, SchemaFormat schemaFormat, Converter<Type, string>? multipleTargetConverter) 2031private void WriteXmlSchema(XmlWriter? writer, SchemaFormat schemaFormat, Converter<Type, string>? multipleTargetConverter) 2040if (schemaFormat == SchemaFormat.WebService && 2044treeGen = new XmlTreeGen(SchemaFormat.WebServiceSkipSchema); 3541(new XmlTreeGen(SchemaFormat.WebService)).Save(ds, writer); 3602WriteXmlSchema(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);