In this instance, Entity Framework 6 is foolish. It just tries to connect
property from the procedure and substitutes it with
13 through Z class. Consequently, there is no possibility to register a custom translation created from external code. Additionally,.NET does not provide the dynamic attachment of properties to language constructs.
You can choose from the following options to resolve this problem:
DbFunctionscode in the source (SSR ReSharper works well for this);
IQueryProvider) which will substitute methods of (instead of method calls)
IQueryProvider) that converts method call expressions to