Den angivna metoden Metodnamn i typen Typnamn kan inte översättas till ett LINQ to Entities-lagringsuttryck eftersom metodens returtyp inte matchar returtypen för funktionen som anges i dess EdmFunction-attribut.
Click to search this error in Google
English version
The specified method 'Method name' on the type 'Type Name' cannot be translated into a LINQ to Entities store expression because its return type does not match the return type of the function specified by its EdmFunction attribute.