I'm trying to generate an existing database for Entity-framework 5, I managed to generate without problems, with all the relationships but in that database I have procedures that receive as a table-type parameter but when I'm going to call those procedures that have this type of parameter EF ignores the parameter.
I would like to know how to automatically generate and accept these parameters in procedures already in the system.
My procedures:
Alter PROC ListarCursosV2
@usuarioID INT
, @cultura VARCHAR(11)='pt-BR'
, @dominios SubDominio READONLY
AS
Calling the proc:
var Cursos = context.ListarCursosV2(usuarioID, "pt-BR");