https://github.com/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://github.com/Dixin/EntityFramework.Functions
Last synced: 7 months ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/Dixin/EntityFramework.Functions
- Owner: Dixin
- License: mit
- Created: 2015-12-27T02:30:09.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2024-03-30T06:29:52.000Z (over 1 year ago)
- Last Synced: 2024-11-02T18:11:49.279Z (about 1 year ago)
- Language: C#
- Homepage: https://weblogs.asp.net/Dixin/EntityFramework.Functions
- Size: 20.4 MB
- Stars: 79
- Watchers: 12
- Forks: 27
- Open Issues: 25
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-entity-framework-6 - EntityFramework.Functions - EntityFramework.Functions library implements Entity Framework code first support for stored procedures, TVFs and SVFs, etc. (Unsupported Packages)
README
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
- 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