none
Cannot execute stored procedure with ADO.NET Entity Framework RRS feed

  • Question

  • I created a simple stored procedure that receives a customer id and returns the data from this client. I imported the stored procedure to an entity model but it gives me this error "Error 146: Return type is not valid in FunctionImport 'spCliente'. The FunctionImport must return a collection of scalar values ​​or a collection of entities.". I try to create a FunctionImport but I did not succeed, also try to change the type of value, stated as I could run this stored procedure with EntityFramework.
    Thursday, May 16, 2013 4:56 PM

Answers

All replies