60 references to SchemaFormat
System.Data (60)
fx\src\data\System\Data\DataSet.cs (20)
1403
(new XmlTreeGen(
SchemaFormat
.Public)).Save(this, writer);
1421
(new XmlTreeGen(
SchemaFormat
.RemotingSkipSchema)).Save(this, writer);
1423
(new XmlTreeGen(
SchemaFormat
.Remoting)).Save(this, writer);
1426
(new XmlTreeGen(
SchemaFormat
.Remoting)).Save(table, writer);
1754
this.WriteXmlSchema(stream,
SchemaFormat
.Public, (Converter<Type, string>)null);
1763
this.WriteXmlSchema(stream,
SchemaFormat
.Public, multipleTargetConverter);
1772
this.WriteXmlSchema(fileName,
SchemaFormat
.Public, (Converter<Type, string>)null);
1783
this.WriteXmlSchema(fileName,
SchemaFormat
.Public, multipleTargetConverter);
1790
this.WriteXmlSchema(writer,
SchemaFormat
.Public, (Converter<Type, string>)null);
1799
this.WriteXmlSchema(writer,
SchemaFormat
.Public, multipleTargetConverter);
1806
this.WriteXmlSchema(writer,
SchemaFormat
.Public, (Converter<Type, string>)null);
1815
this.WriteXmlSchema(writer,
SchemaFormat
.Public, multipleTargetConverter);
1820
private void WriteXmlSchema(String fileName,
SchemaFormat
schemaFormat, Converter<Type, string> multipleTargetConverter)
1834
private void WriteXmlSchema(Stream stream,
SchemaFormat
schemaFormat, Converter<Type, string> multipleTargetConverter)
1845
private void WriteXmlSchema(TextWriter writer,
SchemaFormat
schemaFormat, Converter<Type, string> multipleTargetConverter)
1856
private void WriteXmlSchema(XmlWriter writer,
SchemaFormat
schemaFormat, Converter<Type, string> multipleTargetConverter)
1864
if (schemaFormat ==
SchemaFormat
.WebService &&
1867
treeGen = new XmlTreeGen(
SchemaFormat
.WebServiceSkipSchema);
3356
(new XmlTreeGen(
SchemaFormat
.WebService)).Save(this, writer);
3388
this.WriteXmlSchema(writer,
SchemaFormat
.WebService, (Converter<Type, string>)null);
fx\src\data\System\Data\DataTable.cs (2)
5007
XmlTreeGen treeGen = new XmlTreeGen(
SchemaFormat
.Public);
5949
(new XmlTreeGen(
SchemaFormat
.WebService)).Save(this, writer);
fx\src\data\System\Data\xmlsaver.cs (38)
46
private
SchemaFormat
schFormat =
SchemaFormat
.Public;
60
internal XmlTreeGen(
SchemaFormat
format) {
521
if (schFormat ==
SchemaFormat
.Remoting) {
530
if (schFormat !=
SchemaFormat
.Remoting) {
550
if (schFormat !=
SchemaFormat
.Remoting) {
566
if (top.Length == 0 || schFormat ==
SchemaFormat
.WebServiceSkipSchema || schFormat ==
SchemaFormat
.RemotingSkipSchema) {
599
if (((_ds != null )&& (_ds.Namespace == top[i].Namespace)) || Common.ADP.IsEmpty(top[i].Namespace) || (schFormat ==
SchemaFormat
.Remoting)) {
630
if ((_ds != null && _ds.Namespace == top[i].Namespace) || Common.ADP.IsEmpty(top[i].Namespace) || (schFormat ==
SchemaFormat
.Remoting))
692
if (schFormat !=
SchemaFormat
.Remoting && schFormat !=
SchemaFormat
.RemotingSkipSchema) {
700
if ( schFormat !=
SchemaFormat
.WebService && !isMultipleNamespaceAndStreamingWriter) {
705
if (schFormat !=
SchemaFormat
.WebService && isMultipleNamespaceAndStreamingWriter) {
710
if (schFormat !=
SchemaFormat
.WebService && isMultipleNamespaceAndStreamingWriter) {
758
if ( schFormat !=
SchemaFormat
.WebService && !isMultipleNamespaceAndStreamingWriter)
769
if (schFormat !=
SchemaFormat
.WebService && isMultipleNamespaceAndStreamingWriter) {
810
if (schFormat !=
SchemaFormat
.Remoting) {
824
if (schFormat !=
SchemaFormat
.Remoting) {
940
if (schFormat ==
SchemaFormat
.Public) {
961
if (schFormat ==
SchemaFormat
.Public) {
964
if (schFormat ==
SchemaFormat
.WebServiceSkipSchema && xw.WriteState==WriteState.Element) {
1064
string nSpace = (schFormat !=
SchemaFormat
.Remoting) ? stNode.Namespace :
1074
type = stNode.ToNode(dc, prefixes, (schFormat ==
SchemaFormat
.Remoting));
1080
if (schFormat !=
SchemaFormat
.Remoting)
1105
type = stNode.ToNode(dc, prefixes, schFormat ==
SchemaFormat
.Remoting);
1268
if (schFormat ==
SchemaFormat
.Remoting)
1468
if (schFormat !=
SchemaFormat
.Remoting)
1478
if (((table.DataSet == null) || (_ds!= null && table.Namespace != _ds.Namespace)) && (schFormat ==
SchemaFormat
.Remoting))
1564
if (!table.TypeName.IsEmpty && schFormat !=
SchemaFormat
.Remoting) {
1583
if (schFormat !=
SchemaFormat
.Remoting)
1672
if ((childTable.Namespace == table.Namespace) || (childTable.Namespace.Length == 0) || schFormat ==
SchemaFormat
.Remoting) {
1708
if (schFormat !=
SchemaFormat
.Remoting) {
1756
if (schFormat !=
SchemaFormat
.Remoting) {
1815
if (schFormat !=
SchemaFormat
.Remoting) {
1889
if (schFormat !=
SchemaFormat
.Remoting) {
2496
new XmlTreeGen(
SchemaFormat
.Public).Save(_ds,_xmlw);
2499
new XmlTreeGen(
SchemaFormat
.Public).Save( null, _dt, _xmlw, this._writeHierarchy);