Код: Выделить всё
var records = await con.QueryAsync(queryBuilderResult.Query, queryBuilderResult.SqlParams);
// get values only
List rowValues = [];
foreach (var row in records)
{
if (row == null) continue;
rowValues.Add(GetPropertyValue(row, propertyName));
}
filter[dependsOnField] = rowValues;
Подробнее здесь: https://stackoverflow.com/questions/797 ... ing-dapper
Мобильная версия