Quantcast
Channel: EntityFramework Reverse POCO Code First Generator
Viewing all articles
Browse latest Browse all 1642

Created Unassigned: Schema name missing in generated stored procedure function [143]

$
0
0
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'

Viewing all articles
Browse latest Browse all 1642

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>