Click here to Skip to main content
15,889,216 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a strange problem with stored procedures in example Northwind database.
I add a table Orders and one stored procedure CustOrderDetail, then i import procedure as a function, creating a new complex type, naming it... I check if the procedure is imported in model browser and it is. But when i want to call it, it doesn't exist. What could be the problem here ?
Posted
Comments
Arkadeep De 29-Mar-15 13:24pm    
use sp name like this... [dbo].[storedprocedure name]
or if it does not work then add db name also before [dbo]..
milosevarsen 29-Mar-15 13:55pm    
I can't name it that way because it reports a error that the name is not valid...

1 solution

Have you built the project after creating the complex type? The method won't be generated until it's been built - then you should be able to access it.
 
Share this answer
 
Comments
milosevarsen 30-Mar-15 6:31am    
Works now, thanks :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900