net core 2.1 code first out parameters does´t work
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
Subject
Written By
Posted
net core 2.1 code first out parameters does´t work
October 16, 2018 05:14PM
Sorry, you can't reply to this topic. It has been closed.
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.