private String SetIgnoreDuplicates(String commandText) { if (this.IsCommandInsert(commandText)) { if (EstateReportingGenericContext.IsDuplicateInsertsIgnored(this.GetTableName(commandText))) { // Swap the insert to ignore duplicates return(commandText.Replace("INSERT INTO", "INSERT IGNORE INTO")); } } return(commandText); }