Anele Ngqandu

Anele Ngqandu

  • 1.8k
  • 365
  • 16.2k

How to execute a function with parameters in dapper

Jun 2 2021 10:14 AM
Hi Guys 
 
Please assist executing a dapper function below. I am using oracle Below query complains that its missing a FROM, but when from is added, it complains that the query is missing expression.
  1. var results = connection.Query("select from checkpin(:Username, :Password)"new { Username = input.Username, Password = input.Password }, commandType: CommandType.Text);

Answers (1)