简体   繁体   中英

adding table in visual studio 2015

When I add a new table in a service-based database in visual studio 2010, I just save it and the new table pops up under the tables folder in the mdf.

Now, I'm new to using visual studio 2015. I'm trying to add a new table in visual studio 2015, and when I add a new table and save it, it pops a file dialog prompting me to save it somewhere, which is not the case in visual studio 2010 whenever I save it.

or maybe I did something wrong?

在此处输入图片说明

There is an UPDATE button just above the fields you have created. Click on UPDATE and after that you need to click on UPDATE TABLE.

Click 'Update' just above the table. Then in the 'Preview Database Updates' window that opens, click 'Update Database'. Then in Server Explorer, right-click on Tables folder in the database and click refresh. The table should then appear in this folder.

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