Skip to content

grammophone/EntityFramework.Functions

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Grammophone.EntityFramework.Functions

A fork from EntityFramework.Functions to address entity type resolutions.

Fixes the following errors when using entity types as return arguments in functions:

  • Error for entity types when in a .NET namespace other than DbContext's: "TTTT for method MMMM is not supported in conceptual model as a structural type. This can be caused by a failure to register this type as complex."
  • Errors during migration and model validation of the type "(0,0) : error 0040: The Type XXXXX is not qualified with a namespace or alias. Only primitive types can be used without qualification."

This fork has a separate NuGet package named as Grammophone.EntityFramework.Functions and is a drop-in replacement for the original package.

Build status

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:

About

For from EntityFramework.Functions: Entity Framework code first support for stored procedures, table-valued functions, scalar-valued functions, aggregate functions, built-in functions, niladic functions, and model defined functions.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • C# 95.5%
  • TSQL 4.5%