visual studio 2010 database project, is there a visual way?

后端 未结 1 599
佛祖请我去吃肉
佛祖请我去吃肉 2021-02-09 20:37

started a visual studio 2010 database project. however i am only able to write sql in a text mode, there is no functionality in making the table for example in

1条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-02-09 21:08

    There is a simple workaround you can use to have visual design capabilities. You need a dev database set up anywhere. Now create a schema synchronization with Visual Studios built-in Schema Comparison. This will allow you to pull changes between your dev database and your database project back and forth.

    Since you can sync in both directions, you can make changes to your database via database diagrams from inside VS (via the Server Explorer) or you can use SQL Server Management Studio (or whatever else you like). When you're done, simply sync your changes using the schema comparison. It works in the opposite direction too, simply change one of your scripts and then sync with your dev database.

    0 讨论(0)
提交回复
热议问题