60 references to SchemaFormat
System.Data.Common (60)
System\Data\DataSet.cs (20)
1480(new XmlTreeGen(SchemaFormat.Public)).Save(this, writer); 1500(new XmlTreeGen(SchemaFormat.RemotingSkipSchema)).Save(this, writer); 1504(new XmlTreeGen(SchemaFormat.Remoting)).Save(this, writer); 1510(new XmlTreeGen(SchemaFormat.Remoting)).Save(table, writer); 1895public void WriteXmlSchema(Stream? stream) => WriteXmlSchema(stream, SchemaFormat.Public, null); 1904WriteXmlSchema(stream, SchemaFormat.Public, multipleTargetConverter); 1910public void WriteXmlSchema(string fileName) => WriteXmlSchema(fileName, SchemaFormat.Public, null); 1919WriteXmlSchema(fileName, SchemaFormat.Public, multipleTargetConverter); 1925public void WriteXmlSchema(TextWriter? writer) => WriteXmlSchema(writer, SchemaFormat.Public, null); 1934WriteXmlSchema(writer, SchemaFormat.Public, multipleTargetConverter); 1940public void WriteXmlSchema(XmlWriter? writer) => WriteXmlSchema(writer, SchemaFormat.Public, null); 1949WriteXmlSchema(writer, SchemaFormat.Public, multipleTargetConverter); 1953private void WriteXmlSchema(string fileName, SchemaFormat schemaFormat, Converter<Type, string>? multipleTargetConverter) 1970private void WriteXmlSchema(Stream? stream, SchemaFormat schemaFormat, Converter<Type, string>? multipleTargetConverter) 1984private void WriteXmlSchema(TextWriter? writer, SchemaFormat schemaFormat, Converter<Type, string>? multipleTargetConverter) 1998private void WriteXmlSchema(XmlWriter? writer, SchemaFormat schemaFormat, Converter<Type, string>? multipleTargetConverter) 2007if (schemaFormat == SchemaFormat.WebService && 2011treeGen = new XmlTreeGen(SchemaFormat.WebServiceSkipSchema); 3483(new XmlTreeGen(SchemaFormat.WebService)).Save(ds, writer); 3536WriteXmlSchema(writer, SchemaFormat.WebService, null);
System\Data\DataTable.cs (2)
5576XmlTreeGen treeGen = new XmlTreeGen(SchemaFormat.Public); 6683new XmlTreeGen(SchemaFormat.WebService).Save(this, writer);
System\Data\xmlsaver.cs (38)
43private readonly SchemaFormat _schFormat = SchemaFormat.Public; 56internal XmlTreeGen(SchemaFormat format) 608if (_schFormat == SchemaFormat.Remoting) 620if (_schFormat != SchemaFormat.Remoting) 643if (_schFormat != SchemaFormat.Remoting) 662if (top.Length == 0 || _schFormat == SchemaFormat.WebServiceSkipSchema || _schFormat == SchemaFormat.RemotingSkipSchema) 698if (((_ds != null) && (_ds.Namespace == top[i].Namespace)) || string.IsNullOrEmpty(top[i].Namespace) || (_schFormat == SchemaFormat.Remoting)) 738if ((_ds != null && _ds.Namespace == top[i].Namespace) || string.IsNullOrEmpty(top[i].Namespace) || (_schFormat == SchemaFormat.Remoting)) 808if (_schFormat != SchemaFormat.Remoting && _schFormat != SchemaFormat.RemotingSkipSchema) 819if (_schFormat != SchemaFormat.WebService && !isMultipleNamespaceAndStreamingWriter) 825if (_schFormat != SchemaFormat.WebService && isMultipleNamespaceAndStreamingWriter) 831if (_schFormat != SchemaFormat.WebService && isMultipleNamespaceAndStreamingWriter) 889if (_schFormat != SchemaFormat.WebService && !isMultipleNamespaceAndStreamingWriter) 900if (_schFormat != SchemaFormat.WebService && isMultipleNamespaceAndStreamingWriter) 951if (_schFormat != SchemaFormat.Remoting) 966if (_schFormat != SchemaFormat.Remoting) 1109if (_schFormat == SchemaFormat.Public) 1136if (_schFormat == SchemaFormat.Public) 1140if (_schFormat == SchemaFormat.WebServiceSkipSchema && xw.WriteState == WriteState.Element) 1256string nSpace = (_schFormat != SchemaFormat.Remoting) ? stNode.Namespace : 1266type = stNode.ToNode(dc, _prefixes, (_schFormat == SchemaFormat.Remoting)); 1274if (_schFormat != SchemaFormat.Remoting) 1303type = stNode.ToNode(dc, _prefixes, _schFormat == SchemaFormat.Remoting); 1499if (_schFormat == SchemaFormat.Remoting) 1711if (_schFormat != SchemaFormat.Remoting) 1727if (((table.DataSet == null) || (_ds != null && table.Namespace != _ds.Namespace)) && (_schFormat == SchemaFormat.Remoting)) 1827if (!table.TypeName.IsEmpty && _schFormat != SchemaFormat.Remoting) 1850if (_schFormat != SchemaFormat.Remoting) 1944if ((childTable.Namespace == table.Namespace) || (childTable.Namespace.Length == 0) || _schFormat == SchemaFormat.Remoting) 1980if (_schFormat != SchemaFormat.Remoting) 2031if (_schFormat != SchemaFormat.Remoting) 2099if (_schFormat != SchemaFormat.Remoting) 2183if (_schFormat != SchemaFormat.Remoting) 2874new XmlTreeGen(SchemaFormat.Public).Save(_ds!, _xmlw); 2878new XmlTreeGen(SchemaFormat.Public).Save(null, _dt!, _xmlw, _writeHierarchy);