2
Answers

unable to use the stored procedure in entity framework that

Vikas Tyagi

Vikas Tyagi

10y
1.4k
1

Can anybody help me?

I am unable to use the stored procedure in entity framework that accept a parameter of user defile type

Stored procedure:

create type Stus as table(name varchar(20), courseid int, email varchar(20))

create proc sp_insert_stu(@Stu stus readonly )

as

Error while adding stored procedure in edmx:

Errors Found During Generation:

warning 6005: The function 'sp_insert_stu' has a parameter 'Stu' at parameter index 0 that has a data type 'table type' which is currently not supported for the target .NET Framework version. The function was excluded.

Answers (2)