net core 2.1 code first out parameters does´t work
Posted by: Alvaro Lafuente
Date: October 16, 2018 05:14PM

I have to try to call stored procedure, with out parameter and its imposible, doesnt works,

for example:

var numRes = new MySql.Data.MySqlClient.MySqlParameter
{
ParameterName = "numResults",
DbType = System.Data.DbType.Int32,
Direction = System.Data.ParameterDirection.Output
};

dbcontext.Entity.fromSql("call procedure(@p1, @numResults")", var, numRes).toList();

where @numResultsits a out parameter

somebody have a solution?

thanks

Options: ReplyQuote


Subject
Written By
Posted
net core 2.1 code first out parameters does´t work
October 16, 2018 05:14PM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.