private void SynchronizeRowFromRowElement(XmlBoundElement rowElement, ArrayList rowElemList)
{
DataRow row = rowElement.Row;
Debug.Assert(row != null);
// No synchronization needed for deleted rows
if (row.RowState == DataRowState.Deleted)
return;
row.BeginEdit();
#if DEBUG
try
{
#endif
SynchronizeRowFromRowElementEx(rowElement, rowElemList);
#if DEBUG
}
catch
{
// We should not get any exceptions because we always handle data-type conversion
Debug.Assert(false);
throw;
}
#endif
#if DEBUG
try
{
#endif
row.EndEdit();
#if DEBUG
}
catch
{
// We should not get any exceptions because DataSet.EnforceConstraints should be always off
Debug.Assert(false);
throw;
}
#endif
}
private void SynchronizeRowFromRowElementEx(XmlBoundElement rowElement, ArrayList rowElemList)