Files
27Aug2021-Cpp2IL-Dump/System.Data/XmlReadMode.cs
T
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

41 lines
3.3 KiB
C#

using System;
using Cpp2IlInjected;
namespace System.Data
{
/// <summary>Specifies how to read XML data and a relational schema into a <see cref="T:System.Data.DataSet" />.</summary>
// Token: 0x02000091 RID: 145
[Token(Token = "0x2000091")]
public enum XmlReadMode
{
/// <summary>Default.</summary>
// Token: 0x04000308 RID: 776
[Token(Token = "0x4000308")]
Auto,
/// <summary>Reads any inline schema and loads the data. If the <see cref="T:System.Data.DataSet" /> already contains schema, new tables may be added to the schema, but an exception is thrown if any tables in the inline schema already exist in the <see cref="T:System.Data.DataSet" />.</summary>
// Token: 0x04000309 RID: 777
[Token(Token = "0x4000309")]
ReadSchema,
/// <summary>Ignores any inline schema and reads data into the existing <see cref="T:System.Data.DataSet" /> schema. If any data does not match the existing schema, it is discarded (including data from differing namespaces defined for the <see cref="T:System.Data.DataSet" />). If the data is a DiffGram, <see langword="IgnoreSchema" /> has the same functionality as <see langword="DiffGram" />.</summary>
// Token: 0x0400030A RID: 778
[Token(Token = "0x400030A")]
IgnoreSchema,
/// <summary>Ignores any inline schema, infers schema from the data and loads the data. If the <see cref="T:System.Data.DataSet" /> already contains a schema, the current schema is extended by adding new tables or adding columns to existing tables. An exception is thrown if the inferred table already exists but with a different namespace, or if any of the inferred columns conflict with existing columns.</summary>
// Token: 0x0400030B RID: 779
[Token(Token = "0x400030B")]
InferSchema,
/// <summary>Reads a DiffGram, applying changes from the DiffGram to the <see cref="T:System.Data.DataSet" />. The semantics are identical to those of a <see cref="M:System.Data.DataSet.Merge(System.Data.DataSet)" /> operation. As with the <see cref="M:System.Data.DataSet.Merge(System.Data.DataSet)" /> operation, <see cref="P:System.Data.DataRow.RowState" /> values are preserved. Input to <see cref="M:System.Data.DataSet.ReadXml(System.Xml.XmlReader)" /> with DiffGrams should only be obtained using the output from <see cref="M:System.Data.DataSet.WriteXml(System.IO.Stream)" /> as a DiffGram.</summary>
// Token: 0x0400030C RID: 780
[Token(Token = "0x400030C")]
DiffGram,
/// <summary>Reads XML fragments, such as those generated by executing FOR XML queries, against an instance of SQL Server. When <see cref="T:System.Data.XmlReadMode" /> is set to <see langword="Fragment" />, the default namespace is read as the inline schema.</summary>
// Token: 0x0400030D RID: 781
[Token(Token = "0x400030D")]
Fragment,
/// <summary>Ignores any inline schema, infers a strongly typed schema from the data, and loads the data. If the type cannot be inferred from the data, it is interpreted as string data. If the <see cref="T:System.Data.DataSet" /> already contains a schema, the current schema is extended, either by adding new tables or by adding columns to existing tables. An exception is thrown if the inferred table already exists but with a different namespace, or if any of the inferred columns conflict with existing columns.</summary>
// Token: 0x0400030E RID: 782
[Token(Token = "0x400030E")]
InferTypedSchema
}
}