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.
On the method "GetModelEntitySets" when the stored procedure has more than one result, he tries to find the returnClrType as EntitySets, throwing an exception "clrType for method {methodInfo.Name} is not supported in conceptual model as entity set".
If we can validate that the return type is not a primitive type, in this case is a pair of ComplexTypes, and return null on this method; it actually works as expected.
On the method "GetModelEntitySets" when the stored procedure has more than one result, he tries to find the returnClrType as EntitySets, throwing an exception "clrType for method {methodInfo.Name} is not supported in conceptual model as entity set".
If we can validate that the return type is not a primitive type, in this case is a pair of ComplexTypes, and return null on this method; it actually works as expected.