Specifies how to write XML data and a relational schema from a System.Data.DataSet.
Use the members of this enumeration when setting the WriteMode parameter of the DataSet.WriteXml(System.IO.Stream) method.
Member Name | Description |
---|---|
DiffGram |
Writes the entire System.Data.DataSet as a DiffGram, including original and current values. To generate a DiffGram containing only changed values, call DataSet.GetChanges, and then call DataSet.WriteXml(System.IO.Stream) as a DiffGram on the returned System.Data.DataSet. |
IgnoreSchema |
Writes the current contents of the System.Data.DataSet as XML data, without an XSD schema. If no data is loaded into the System.Data.DataSet, nothing is written. |
WriteSchema |
Writes the current contents of the System.Data.DataSet as XML data with the relational structure as inline XSD schema. If the System.Data.DataSet has only a schema with no data, only the inline schema is written. If the System.Data.DataSet does not have a current schema, nothing is written. |