public void FillData(DataSet dataSet) { m_pendingRepository = m_pendingRepository ?? m_repository.CloneEditable(); //------------------------------------- //-- Fill the data //------------------------------------- foreach (DataTable table in dataSet.Tables) { //Validate the schema FillData(table.TableName, table); } }