如何将本地数据库文件添加到 Visual Studio Mac 2017 [英] How to add local database file to Visual Studio Mac 2017

查看:18
本文介绍了如何将本地数据库文件添加到 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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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