Entity framework 6.x does not add table parameter value when added to model

I am trying to add a stored procedure through the model browser, SP had a table dependent parameter. SP is added with the import of functions, but it does not matter for the table. SP had 5 parameters, including tvp, but I see only 4 parameters and the tvp parameter.

I searched the search terms to find a reason and solution. Everyone suggests using the ExecuteStoreProcedure method. for example, Entity Framework stored procedure table parameter value

But I want to use the import function that is created when adding SP using the model browser, all other SPs work well, because they do not have tvp. Note: using EF 6.1.1 and .net 4.5 and VS2013

Quetion: Does C # and EF support SP import from TVP?

+5
source share

Source: https://habr.com/ru/post/1241670/


All Articles