Elwig: Use ExecuteSql/FromSql instead of ExecuteSqlRaw/FromSqlRaw where possible
All checks were successful
Test / Run tests (push) Successful in 1m42s
All checks were successful
Test / Run tests (push) Successful in 1m42s
This commit is contained in:
@ -49,7 +49,7 @@ namespace Elwig.Models.Dtos {
|
||||
}
|
||||
|
||||
private static async Task<IEnumerable<PaymentVariantSummaryRow>> FromDbSet(DbSet<PaymentVariantSummaryRow> table, int year, int avnr) {
|
||||
return await table.FromSqlRaw($"""
|
||||
return await table.FromSql($"""
|
||||
SELECT v.type AS type,
|
||||
v.name AS variety,
|
||||
a.name AS attribute,
|
||||
|
Reference in New Issue
Block a user