Automatically generate procedures with table-type field in Entity-framework

Asked

Viewed 26 times

0

I am trying to generate an existing database for Entity-framework 5,I managed to generate without problems,with all relationships in this database I have procedures that receives as parameter a table-type but when I call these procedures that have this type of parameter EF ignores the parameter.

I would like to know how to automatically generate and accept these walls in the procedures already existing in the system.

My procedures :

Alter PROC ListarCursosV2
    @usuarioID INT
    , @cultura VARCHAR(11)='pt-BR'
    ,  @dominios SubDominio READONLY
AS

Call from the proc:

var Cursos = context.ListarCursosV2(usuarioID, "pt-BR");
  • https://stackoverflow.com/questions/8157345/entity-framework-stored-procedure-table-value-parameter

  • From what I found on the internet in version 4.5 of EF ,it already has support for this type of parameter,?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.