It sounds like you can - but this is hardly documented: - (
Here 's a blog post from Queen of Entity Framework - Julia Lerman - describing how to do this.
For future EF4 with .NET 4.0, MS plans to support UDF in Entity SQL — for example, user-defined functions in the EF model — check this out . But this will only be available after the release of the .NET Framework and EFv4.
Mark
source share