如何在Visual Studio for mac 2017中使用本地数据库? [英] How to use local db in visual studio for mac 2017?

查看:440
本文介绍了如何在Visual Studio for mac 2017中使用本地数据库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Visual Studio for Mac 2017社区版。我无法找到服务器资源管理器选项来创建本地数据库连接。



什么我试过了:



我在谷歌搜索但无法得到正确的解决方案

解决方案

< blockquote>遵循:使用Visual Studio Code mssql扩展SQL服务器| Microsoft Docs [ ^ ]



Quote:

Visual Studio Code是Linux的图形代码编辑器, macOS 和支持扩展的Windows。 VS Code的mssql扩展使您可以连接到SQL Server,使用Transact-SQL(T-SQL)进行查询,并查看结果。


引用:

LocalDB是SQL Server Express数据库引擎的轻量级版本



甚至还有Visual Studio for Mac那里没有适用于Mac的LocalDB ...

您必须寻找Mac上支持的其他类型的数据库...


I am using visual studio for Mac 2017 community edition.I was not able find the server explorer option to create a local db connection.

What I have tried:

I searched on google but could not get a proper solution

解决方案

Follow this: Use the Visual Studio Code mssql extension for SQL Server | Microsoft Docs[^]

Quote:

Visual Studio Code is a graphical code editor for Linux, macOS, and Windows that supports extensions. The mssql extension for VS Code enables you to connect to SQL Server, query with Transact-SQL (T-SQL), and view the results.


Quote:

LocalDB is a lightweight version of the SQL Server Express Database Engine


And even there is Visual Studio for Mac there is no LocalDB for Mac...
You have to look for an other kind of database, that supported on Mac...


这篇关于如何在Visual Studio for mac 2017中使用本地数据库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆