An Easier way to call Model Defined Functions in EF4

Model-Defined Functions are one of the great new features of EF4. The only downside is that it’s a little kludgey to call them from LINQ to Entities.

Jiri Cincura has a simple, but elegant workaround – the ever agile Extension Methods!

Model Defined Function as a method on entity (or on type for store function)

  Sign up for my newsletter so you don't miss my conference & Pluralsight course announcements!  

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.