views:

23

answers:

1

Is there a way to make Linq to Entities map unrecognized methods/functions to MySql functions?

I want to add support to some functions like Convert.*

+1  A: 

Yes, you can do this in EF 4 using EdmFunctionAttribute.

Craig Stuntz
so currently in Net 3.5 is impossible?
Luiscencio
Harder, anyway. You'd have to write a `DefiningQuery` or view.
Craig Stuntz