Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Entity Framework 4 Table Valued Function

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.

like image 667
Imran Avatar asked Apr 20 '10 08:04

Imran


1 Answers

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

like image 178
JoBot Avatar answered Oct 18 '22 03:10

JoBot