Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

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 }});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #dapper #execute #list #ids
ADD COMMENT
Topic
Name
9+9 =