Table-Valued Parameter in Stored Procedure and the Entity Framework 4.0
Posted
by Fabio
on Stack Overflow
See other posts from Stack Overflow
or by Fabio
Published on 2010-05-14T20:19:57Z
Indexed on
2010/05/14
20:24 UTC
Read the original article
Hit count: 481
Hi there,
I have a stored procedure called 'GetPrices' with a Table-Valued Parameter called 'StoreIDs' and I would like to call it from my Entity Framework. But when I try to add the Stored Procedure to the EDM, i get the following error:
The function 'GetPrices' has a parameter 'StoreIDs' at parameter index 2 that has a data type 'table type' which is not supported. The function was excluded.
Is there any workaround this? Any thoughts?
Fabio
© Stack Overflow or respective owner