'Passing output parameter to an sp which accepts datatable as a parameter using dapper
Hi I am working on mvc as part of my learning, So I came accross a situation where I have to pass a datatable to the sp, along with the datatable I have to give one output parameter of int also of the type. Currently I am using this code
con.Execute("XXXXXXX",
new { @LoginId = LoginId, @City= City, @RegionCode = RegionCode, @CarList= Cars, @CompCOde = COmp},
commandType: CommandType.StoredProcedure);
Here Cars is a datatable so I want to add an output parameter to this , please suggest me a solution.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
