This blog shows configuration of code first making use of stored procedure for the entities. For usage of stored procedure, the OnModelCreating method of DBContext should be overriden,this method will ...
I have wrritten the following code in xxEndpoint.cs to run a stored procedure. public int Runprocedure(IDbConnection connection) { connection.Execute("UpdateNumbers", param: new { ProductId = ...