Answers for "dapper run sql script with parameters reader"

SQL
0

dapper run sql script with parameters

var parameters = new { UserName = username, Password = password };
var sql = "select * from users where username = @UserName and password = @Password";
var result = connection.Query(sql, parameters);
Posted by: Guest on August-09-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language