Creating MDF tables using Visual Studio 2015
-
06-10-2020 - |
سؤال
I'm using Visual Studio 2015. In Explore Server, I create a new DB.mdf
file.
When I right click on "Tables" I don't have the option to create a new table.
Do I need to install something in order to create MDF files' tables?
المحلول
The appropriate way to do this with visual studio is to:
- Install SQL Server Data Tools for Visual Studio.
- Create a SQL Database project.
- Use the tools within the project to create and modify your database objects.
- Use the publish feature to push your changes to the database.
Using a DB project allows you to easily leverage source control, and define build configurations for your databases.
لا تنتمي إلى dba.stackexchange