SQL Server stored procedures can return data in three different ways: Via result sets, OUTPUT parameters and RETURN values – see the docs here.
I have previously blogged about getting result sets with FromSqlRaw here and here.
I have blogged about using OUTPUT parameters with FromSqlRaw here.
In this post, let’s have a look at using RETURN values.
Click through for the process.
Comments closed