📅  最后修改于: 2022-03-11 15:05:05.204000             🧑  作者: Mango
var parameters = new { UserName = username, Password = password };
var sql = "select * from users where username = @UserName and password = @Password";
var result = connection.Query(sql, parameters);