Multi mapping in dapper | Dapper advanced #5

preview_player
Показать описание
Dapper advanced
Multi mapping in dapper
Many to many relationship in dapper

.......................................................................................
connect with me:
..........................................
Support my work:

#dotnetcore #aspnetcore #dapper
Рекомендации по теме
Комментарии
Автор

i am mapping with dynamic, so basicaly i have a function that recieve a query string and some infos about how to bind certain parameters to other queries to bind new values so the code look like this
Call function
Results =
ResultsList = results as IEnumerable<dictionary<string, object>>
Foreach (item in resultsList)
Foreach (bindQuery in bindQueries)
= dapper.query(bindQuery, parameters)

Parameters are generated depending on the value of item to set something like orderId == item.id
Everything work as expected, but i wonder if there are ways to make it more efficient?

bobamos
Автор

Can you demo how to create pagination pls?

nangdalet