The type Parameter in Execute Function is incompatible with the type returned by the function
问题 I'm getting the following error when trying to import a stored proc as a function in Entity Framework 5. I have recently updated the data project to reference the new version of EF. The type parameter 'SSDS.Data.testy_Result' in ExecuteFunction is incompatible with the type 'SSDS.Data.testy_Result' returned by the function. I can't get it to work for any stored proc...here is my simple test one: CREATE PROCEDURE testy AS BEGIN select 'hello' as hello END GO It breaks with the exception above