How to add local database file to Visual Studio Mac 2017(如何将本地数据库文件添加到 Visual Studio Mac 2017)
问题描述
我正在 Visual Studio (Mac) 上用 C# 创建酒店管理服务,但我似乎找不到关于如何将本地数据库文件添加到我的项目的很好解释.我在开放式办公室(.odb 文件)中创建了我的数据库表,但似乎没有办法在我的项目中实现它.该文档也没有任何内容.有人知道如何将数据库添加到 Mac Visual Studio 项目吗?
I'm creating a hotel management service in C# on Visual Studio (Mac) and I can't seem to find a good explanation on how to add a local database file to my project. I created my database table in open office (.odb file) but there doesn't seem to be a way for me to implement this in my project. The documentation has nothing on this either. Any one got a clue how to add databases to a Mac Visual studio project?
推荐答案
visual studio for mac没有localDB,需要安装sql server的docker镜像.
there are no localDB in visual studio for mac, you need to install the docker image for sql server.
这是链接
这篇关于如何将本地数据库文件添加到 Visual Studio Mac 2017的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:如何将本地数据库文件添加到 Visual Studio Mac 2017
基础教程推荐
- 在 VS2010 中的 Post Build 事件中将 bin 文件复制到物 2022-01-01
- 将事件 TextChanged 分配给表单中的所有文本框 2022-01-01
- 经典 Asp 中的 ResolveUrl/Url.Content 等效项 2022-01-01
- 首先创建代码,多对多,关联表中的附加字段 2022-01-01
- 全局 ASAX - 获取服务器名称 2022-01-01
- 是否可以在 asp classic 和 asp.net 之间共享会话状态 2022-01-01
- JSON.NET 中基于属性的类型解析 2022-01-01
- 如何动态获取文本框中datagridview列的总和 2022-01-01
- 从 VS 2017 .NET Core 项目的发布目录中排除文件 2022-01-01
- 错误“此流不支持搜索操作"在 C# 中 2022-01-01
