Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Entity Framework 4.2 Table Valued Functions

Are these supported? I can't find a definite answer.

like image 893
AJM Avatar asked Apr 17 '26 01:04

AJM


1 Answers

Not Yet. A user still asks for that: http://blogs.msdn.com/b/adonet/archive/2011/11/01/ef-4-2-released.aspx#10232490

Definitive source: EF 4.2 Released

What’s Not in This Release?

As covered earlier this release is just a small update to the DbContext & Code First runtime. The features that were included in EF June 2011 CTP require changes to the Core Entity Framework Libraries that are part of the .NET Framework and will ship at a later date.

Form the June CTP we have that:

You can now add table-valued functions to your entity data model. A table-valued function is similar to a stored procedure, but the result of executing the table-valued function is composable, meaning you can use it as part of a LINQ query.

like image 133
Leniel Maccaferri Avatar answered Apr 19 '26 00:04

Leniel Maccaferri



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!