Vikas Tyagi

Vikas Tyagi

  • NA
  • 34
  • 3.7k

unable to use the stored procedure in entity framework that

Sep 20 2014 6:14 AM

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)