public TEntity[] SqlQuery <TEntity>(DbTransaction transaction, FormattableString formattableSql) where TEntity : class, new() { var safeSql = new SafeSql <TDbParameter>(formattableSql); return(UnsafeSqlQuery <TEntity>(transaction, safeSql.Sql, safeSql.Parameters)); }
public int Sql(DbTransaction transaction, FormattableString formattableSql) { var safeSql = new SafeSql <TDbParameter>(formattableSql); return(UnsafeSql(transaction, safeSql.Sql, safeSql.Parameters)); }
public Dictionary <string, object>[] SqlQuery(DbTransaction transaction, FormattableString formattableSql) { var safeSql = new SafeSql <TDbParameter>(formattableSql); return(UnsafeSqlQuery(transaction, safeSql.Sql, safeSql.Parameters)); }