Answers for "dapper execute with list of ids"

C#
0

dapper execute with list of ids

string sql = "SELECT * FROM SomeTable WHERE id IN @ids"
var results = conn.Query(sql, new { ids = new[] { 1, 2, 3, 4, 5 }});
Posted by: Guest on January-28-2021

Code answers related to "dapper execute with list of ids"

C# Answers by Framework

Browse Popular Code Answers by Language