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


基础教程推荐
- MS Visual Studio .NET 的替代品 2022-01-01
- c# Math.Sqrt 实现 2022-01-01
- 将 XML 转换为通用列表 2022-01-01
- SSE 浮点算术是否可重现? 2022-01-01
- 将 Office 安装到 Windows 容器 (servercore:ltsc2019) 失败,错误代码为 17002 2022-01-01
- 如何激活MC67中的红灯 2022-01-01
- 有没有办法忽略 2GB 文件上传的 maxRequestLength 限制? 2022-01-01
- 为什么Flurl.Http DownloadFileAsync/Http客户端GetAsync需要 2022-09-30
- 如何在 IDE 中获取 Xamarin Studio C# 输出? 2022-01-01
- rabbitmq 的 REST API 2022-01-01