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.
The issue is rare, but still possible. Migrations fail with message that there are pending changes when in fact everything is OK.
The following code is problematic:
There is no order, so EDMX xml may include
<Function>
tags in different order and as a result deep equality check fails inside EF6.