Definition at line 259 of file XMLDiffLoader.cs.
260 {
262 {
264 }
265 else
266 {
268 }
269 if (table == null)
270 {
272 return -1;
273 }
274 int depth =
row.Depth;
276 text =
row.GetAttribute(
"rowOrder",
"urn:schemas-microsoft-com:xml-msdata");
277 if (!
string.IsNullOrEmpty(
text))
278 {
280 }
281 int num = table.NewRecord();
282 foreach (DataColumn
column in table.Columns)
283 {
285 }
286 foreach (DataColumn
column2 in table.Columns)
287 {
288 if (
column2.ColumnMapping != MappingType.Element &&
column2.ColumnMapping != MappingType.SimpleContent)
289 {
292 {
294 }
295 }
296 }
301 {
303 {
306 }
307 return num;
308 }
309 if (table.XmlText != null)
310 {
311 DataColumn
xmlText = table.XmlText;
313 }
314 else
315 {
316 while (
row.Depth > depth)
317 {
322 {
324 {
326 }
328 continue;
329 }
331 {
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;
335 {
338 }
340 if (!flag && !
dataColumn3.ImplementsIXMLSerializable)
341 {
343 {
346 }
347 else
348 {
351 }
352 }
355 {
357 }
358 continue;
359 }
363 {
365 {
366 string s =
row.ReadString();
369 }
370 }
372 {
374 }
375 }
376 }
379 return num;
380 }
DataTable GetTable(string tableName, string ns)
void SkipWhitespaces(XmlReader reader)
static ? string DecodeName(string? name)
References System.Convert.ChangeType(), System.Data.DataColumn.ConvertXmlToObject(), System.Xml.XmlConvert.DecodeName(), System.Xml.Dictionary, System.Data.XMLDiffLoader.GetTable(), System.s, System.Data.XMLDiffLoader.SkipWhitespaces(), System.text, and System.DBNull.Value.
Referenced by System.Data.XMLDiffLoader.ProcessDiffs(), and System.Data.XMLDiffLoader.ProcessDiffs().