public void BeforeSerializeRows(ContainerTable table, SyncTable schemaTable, IConverter converter) { if (table.Rows.Count > 0) { foreach (var row in table.Rows) { converter.BeforeSerialize(row, schemaTable); } } }
/// <summary> /// Before serializing all rows, call the converter for each row /// </summary> public void BeforeSerializeRows(SyncSet data, IConverter converter) { foreach (var table in data.Tables) { if (table.Rows.Count > 0) { foreach (var row in table.Rows) { converter.BeforeSerialize(row); } } } }