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
基础教程推荐
- 获取C#保存对话框的文件路径 2022-01-01
- 更新 Visual Studio 中的 DataSet 结构以匹配新的 SQL 数据库结构 2022-01-01
- 从 C# 控制相机设备 2022-01-01
- 将数据集转换为列表 2022-01-01
- Mono https webrequest 失败并显示“身份验证或解密失败" 2022-01-01
- 重新排序 WPF TabControl 中的选项卡 2022-01-01
- 在 VB6 或经典 ASP 中使用 .NET 2022-01-01
- 如果条件可以为空 2022-01-01
- SonarQube C# 分析失败“不是指针的有效行偏移" 2022-01-01
- C# 9 新特性——record的相关总结 2023-04-03
