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
- Model defined functions
EntityFramework.Functions library works on .NET Standard with Entity Framework 6.4.0. It also works on .NET 4.0, .NET 4.5, .NET 4.6, .NET 4.7, .NET 4.8 with Entity Framework 6.1.0 and later. Entity Framework is the only dependency of this library.
It can be installed through Nuget:
dotnet add package EntityFramework.Functions
Or:
Install-Package EntityFramework.Functions -DependencyVersion Highest
See:
- Document: https://weblogs.asp.net/Dixin/EntityFramework.Functions
- Source code
- APIs
- Examples
- Add functions to entity model
- Stored procedure, with single result type
- Stored procedure, with output parameter
- Stored procedure, with multiple result types
- Table-valued function
- Scalar-valued function, non-composable
- Scalar-valued function, composable
- Aggregate function
- Built-in function
- Niladic function
- Version history
- Source code: https://github.com/Dixin/EntityFramework.Functions
- Nuget package: https://www.nuget.org/packages/EntityFramework.Functions