Dixin / EntityFramework.Functions

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.
https://weblogs.asp.net/Dixin/EntityFramework.Functions
MIT License
79 stars 27 forks source link

Added support for methods overloading #16

Closed rodro75 closed 7 years ago

rodro75 commented 7 years ago

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-

Dixin commented 7 years ago

Thank you, @rodro75.