How to import system tables, stored procs and views
In VS 2010, when importing master db, all system tables, views a开发者_运维百科nd stored procedures cannot be imported into my project. There are no scripts under Tables, Views and StoredProcedure folders.
For custom db, the scripts can be generated properly.
How can I make the scripts for system object generate for me?
You will need to import master.dbschema as a reference into your project.
See the following http://msdn.microsoft.com/en-us/library/bb386242.aspx
精彩评论