Entity Framework EF4.1 - stored procedure “could not be found in the container”
问题 I have a SP in my database. For EF4.1, using the DbContext API. After importing the function from the data model, references to the stored procedure works fine in my development environment. But when published to the server, it fails with a message like: The FunctionImport 'SqlSearch' could not be found in the container 'TallyJ2Entities'. All other data access is working fine. It seems that in production, some aspects of the EF4 configuration are forgotten. The databases are identical, and