views:

77

answers:

2

Hi,

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.

Thanks,

Imran

+1  A: 

It appears as you can use them...

http://blogs.msdn.com/b/efdesign/archive/2009/01/07/model-defined-functions.aspx

It uses the GetFriends() table valued function. Still i don't really know how to use it.

Diego
A: 

Thanks. I changed the data access layer to linq to sql in the end as ef just has too many workarounds at the moment.

Imran