public void DeleteWhere(TableName table, IWhereFragment @where) { if (table == null) throw new ArgumentNullException(nameof(table)); if (@where == null) throw new ArgumentNullException(nameof(@where)); var whereClause = @where.ToSql(_command); var call = new DeleteWhereCall(table, whereClause); _calls.Add(call); }
public void DeleteWhere(string tableName, IWhereFragment @where) { var whereClause = @where.ToSql(_command); var call = new DeleteWhereCall(tableName, whereClause); _calls.Add(call); }