Hi,
I am having problem trying to generate stored proc that works. The schema name is missing in the stored proc name when being executed, hence could find the stored proc in the database.
Below exception is thrown :
System.Data.Entity.Core.EntityCommandExecutionException: An error occurred while
executing the command definition. See the inner exception for details. ---> Sys
tem.Data.SqlClient.SqlException: Invalid object name 'dbo.my_sp'.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolea
n breakConnection, Action`1 wrapCloseInAction)
Note that 'dbo.my_sp' should be 'dbo.test.my_sp'
I am having problem trying to generate stored proc that works. The schema name is missing in the stored proc name when being executed, hence could find the stored proc in the database.
Below exception is thrown :
System.Data.Entity.Core.EntityCommandExecutionException: An error occurred while
executing the command definition. See the inner exception for details. ---> Sys
tem.Data.SqlClient.SqlException: Invalid object name 'dbo.my_sp'.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolea
n breakConnection, Action`1 wrapCloseInAction)
Note that 'dbo.my_sp' should be 'dbo.test.my_sp'