multiple-resultsets

Dapper.NET and stored proc with multiple result sets

雨燕双飞 提交于 2019-11-26 05:53:46
问题 Is there any way to use Dapper.NET with stored procs that return multiple result sets? In my case, the first result set is a single row with a single column; if it\'s 0 then the call was successful, and the second result set will contain that actual rows/columns of data. (and if it was non-zero, an error occured and no second result set will be provided) Any chance to handle this with Dapper.NET? So far, I\'m only ever getting back that single 0 - but nothing more. Update: OK, it works fine -