I have attached a patch for this problem in issue 65 on the Google code site. The error with stored procedures on views was introduced in version 719.
If you want to fix this yourself, open the Source\DataAccessLayer.SqlClient\Views\SqlEntityViewProviderBase.generated.cst file, about line 389 you will see:
DbCommand commandWrapper = StoredProcedureProvider.GetCommandWrapper(database, "<%= GetOwnerName(command, true) %><%=GetSafeName(command.Name)%>", _useStoredProcedure);
Change the "_useStoredProcedure" to "true" so it looks like this:
DbCommand commandWrapper = StoredProcedureProvider.GetCommandWrapper(database, "<%= GetOwnerName(command, true) %><%=GetSafeName(command.Name)%>", true);
The custom stored procedures will now always be called, which is what should happen, and you will not get the "cannot find the query 'x' in the embedded file" error.
DoniG
-------------------------------------------------
Member of the .NetTiers team
-------------------------------------------------