Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Save() [3/5]

void System.Data.XmlTreeGen.Save ( DataSet ds,
DataTable dt,
XmlWriter xw,
bool writeHierarchy,
Converter< Type, string > multipleTargetConverter )
inlinepackage

Definition at line 978 of file XmlTreeGen.cs.

979 {
981 XmlDocument xd = new XmlDocument();
982 if (_schFormat == SchemaFormat.Public)
983 {
984 SetPath(xw);
985 }
986 if (_schFormat == SchemaFormat.WebServiceSkipSchema && xw.WriteState == WriteState.Element)
987 {
988 xw.WriteAttributeString("msdata", "SchemaSerializationMode", "urn:schemas-microsoft-com:xml-msdata", "ExcludeSchema");
989 }
991 }
void SetPath(XmlWriter xw)
void SchemaTree(XmlDocument xd, XmlWriter xmlWriter, DataSet ds, DataTable dt, bool writeHierarchy)
Converter< Type, string > _targetConverter
Definition XmlTreeGen.cs:48
readonly SchemaFormat _schFormat
Definition XmlTreeGen.cs:36

References System.Data.XmlTreeGen._schFormat, System.Data.XmlTreeGen._targetConverter, System.Xml.Dictionary, System.Data.XmlTreeGen.SchemaTree(), and System.Data.XmlTreeGen.SetPath().