private SourceTable GetSourceTable(string destTableName, TableMappingConfiguration mappingConfig) { SourceTable sourceTable = null; if (mappingConfig != null) { string mapSourceTableName = mappingConfig.SourceTableName != null ? mappingConfig.SourceTableName : destTableName; sourceTable = _sourceDatabase.GetTable(mapSourceTableName); } else { sourceTable = _sourceDatabase.GetTable(destTableName); } return(sourceTable); }