21 while (
xmlReader.LocalName ==
"before" &&
xmlReader.NamespaceURI ==
"urn:schemas-microsoft-com:xml-diffgram-v1")
26 while (
xmlReader.LocalName ==
"errors" &&
xmlReader.NamespaceURI ==
"urn:schemas-microsoft-com:xml-diffgram-v1")
53 while (
xmlReader.LocalName ==
"before" &&
xmlReader.NamespaceURI ==
"urn:schemas-microsoft-com:xml-diffgram-v1")
58 while (
xmlReader.LocalName ==
"errors" &&
xmlReader.NamespaceURI ==
"urn:schemas-microsoft-com:xml-diffgram-v1")
69 int depth =
ssync.Depth;
72 while (depth <
ssync.Depth)
77 text =
ssync.GetAttribute(
"id",
"urn:schemas-microsoft-com:xml-diffgram-v1");
78 bool flag =
ssync.GetAttribute(
"hasErrors",
"urn:schemas-microsoft-com:xml-diffgram-v1") ==
"true";
112 int depth =
ssync.Depth;
114 while (depth <
ssync.Depth)
118 string attribute =
ssync.GetAttribute(
"id",
"urn:schemas-microsoft-com:xml-diffgram-v1");
119 bool flag =
ssync.GetAttribute(
"hasErrors",
"urn:schemas-microsoft-com:xml-diffgram-v1") ==
"true";
152 int depth =
ssync.Depth;
154 while (depth <
ssync.Depth)
161 string attribute =
ssync.GetAttribute(
"id",
"urn:schemas-microsoft-com:xml-diffgram-v1");
163 string attribute2 =
ssync.GetAttribute(
"Error",
"urn:schemas-microsoft-com:xml-diffgram-v1");
175 string attribute3 =
ssync.GetAttribute(
"Error",
"urn:schemas-microsoft-com:xml-diffgram-v1");
190 int depth =
ssync.Depth;
192 while (depth <
ssync.Depth)
199 string attribute =
ssync.GetAttribute(
"id",
"urn:schemas-microsoft-com:xml-diffgram-v1");
203 for (
int i = 0; i <
dt.Count; i++)
213 string attribute2 =
ssync.GetAttribute(
"Error",
"urn:schemas-microsoft-com:xml-diffgram-v1");
225 string attribute3 =
ssync.GetAttribute(
"Error",
"urn:schemas-microsoft-com:xml-diffgram-v1");
274 int depth =
row.Depth;
276 text =
row.GetAttribute(
"rowOrder",
"urn:schemas-microsoft-com:xml-msdata");
277 if (!
string.IsNullOrEmpty(
text))
281 int num = table.NewRecord();
309 if (table.XmlText !=
null)
316 while (
row.Depth > depth)
332 bool flag =
dataColumn3.DataType ==
typeof(
object) ||
row.GetAttribute(
"InstanceType",
"urn:schemas-microsoft-com:xml-msdata") !=
null ||
row.GetAttribute(
"type",
"http://www.w3.org/2001/XMLSchema-instance") !=
null;
340 if (!flag && !
dataColumn3.ImplementsIXMLSerializable)
366 string s =
row.ReadString();
virtual int Add(object? value)
virtual bool Contains(object? item)
static ? object ChangeType(object? value, TypeCode typeCode)
static readonly DBNull Value
object ConvertXmlToObject(string s)
void DiffInsertAt(DataRow row, int pos)
DataTableCollection Tables
DataTable GetTable(string name, string ns)
DataColumnCollection Columns
readonly RecordManager _recordManager
static XmlReader CreateReader(XmlReader xr)
static Exception DiffgramMissingSQL()
int ReadOldRowData(DataSet ds, ref DataTable table, ref int pos, XmlReader row)
DataTable GetTable(string tableName, string ns)
void SkipWhitespaces(XmlReader reader)
void ProcessErrors(DataSet ds, XmlReader ssync)
void ProcessErrors(ArrayList dt, XmlReader ssync)
void LoadDiffGram(DataTable dt, XmlReader dataTextReader)
void LoadDiffGram(DataSet ds, XmlReader dataTextReader)
void CreateTablesHierarchy(DataTable dt)
void ProcessDiffs(DataSet ds, XmlReader ssync)
void ProcessDiffs(ArrayList tableList, XmlReader ssync)
static ? string DecodeName(string? name)