public static dynamic ToRows(this SimpleTransaction db, string sql, object parameters) { return(new SimpleList(db.ToRows(sql, parameters.ObjectToDictionary()))); }
public static IEnumerable <dynamic> ToRows(this SimpleTransaction db, string sql, params KeyValuePair <string, object>[] parameters) { return(db.ToRows(sql, parameters.ToDictionary())); }