EntityFramework.Functions library implements Entity Framework code first support for stored procedures (with single result type, multiple result types, output parameter), table-valued functions (returning entity type, complex type), scalar-valued functions (composable, non-composable), aggregate functions, built-in functions, niladic functions, and model defined functions.
Hey Dixin, thanks for the great work!
I was having troubles in my scenario because I wanted to overload the method in C#, but that resulted in a duplicate definition in the dbModel.
So I just added a check in the AddFunction method and exit if it's been already registered.
-Rodrigo-