📅  最后修改于: 2022-03-11 14:49:13.654000             🧑  作者: Mango
代码示例1
string sql = "SELECT * FROM SomeTable WHERE id IN @ids"
var results = conn.Query(sql, new { ids = new[] { 1, 2, 3, 4, 5 }});