MySQL Forums
Forum List  »  MySQL for Visual Studio

Entity Framework 6 calling MySql stored procedure with output parameter
Posted by: Mike wu
Date: October 04, 2014 08:40PM

have anyone tried calling a stored proc that return data and also an output parameter?

right now calling the stored proc that takes input parameters seems fine like this:

context.Database.SqlQuery<T>("CALL sp_name", new MySqlParameter("@someparameter", value));

but if the stored proc has an output parameter, how to call it?
have tried passing the parameter by specifying its direction but no help.

any idea?

Thanks

Kevin

Options: ReplyQuote


Subject
Views
Written By
Posted
Entity Framework 6 calling MySql stored procedure with output parameter
7602
October 04, 2014 08:40PM


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.