SyntaxFix
Write A Post
Hire A Developer
Questions
Dapper supports this directly. For example...
string sql = "SELECT * FROM SomeTable WHERE id IN @ids" var results = conn.Query(sql, new { ids = new[] { 1, 2, 3, 4, 5 }});