Reputation: 91
I am aware that table valued functions are not supported in previous versions of entity framework. I was wondering if this is now supported in EF 4? I cant see my functions in the edm designer so i'm guessing they are not supported unless I am doing something wrong?
If they are not supported is there a workaround? My table valued function takes a single parameter.
Upvotes: 8
Views: 3366
Reputation: 69
It appears as you can use them...
It uses the GetFriends() table valued function. Still i don't really know how to use it.
Upvotes: 3
Reputation: 131
Yes, you can definitely use Table-Valued functions with EF. Here's a great link on how this can be achieved: http://blog.ondrejsv.com/post/Using-table-valued-database-functions-with-Entity-Framework-40.aspx#comment
Upvotes: 6