简体   繁体   中英

How do I add stored procedures in VS 2015 Community Edition

According to https://msdn.microsoft.com/en-us/library/5czye81z(v=vs.100).aspx I right click on the project and click add new stored procedure. However, when I right click on the project it does not show an option to add stored procedure. I have very basic web project and a App_Data folder where I imported a database from localDB. Thank you.

Martin,

On VS15, to create the Stored procedure you need to use the Server Explorer Windows. Just go in View > Server Explorer or hit CTRL+ALT+S Then, select your database on the list, right click on "Stored Procedure" folder and you're done :)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM