/// <summary> /// Execute a DELETE query. /// </summary> /// <param name="tableName">The table in which you wish to DELETE.</param> /// <param name="filter">The expression containing the DELETE filter (i.e. WHERE clause data).</param> public void Delete(string tableName, Expression filter) { if (String.IsNullOrEmpty(tableName)) { throw new ArgumentNullException(nameof(tableName)); } if (filter == null) { throw new ArgumentNullException(nameof(filter)); } Query(MysqlHelper.DeleteQuery(tableName, filter)); }