如何将本地数据库文件添加到 Visual Studio Mac 2017

1

本文介绍了如何将本地数据库文件添加到 Visual Studio Mac 2017的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

问题描述

限时送ChatGPT账号..

我正在 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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

The End

相关推荐

C# 中的多播委托奇怪行为?
Multicast delegate weird behavior in C#?(C# 中的多播委托奇怪行为?)...
2023-11-11 C#/.NET开发问题
6

参数计数与调用不匹配?
Parameter count mismatch with Invoke?(参数计数与调用不匹配?)...
2023-11-11 C#/.NET开发问题
26

如何将代表存储在列表中
How to store delegates in a List(如何将代表存储在列表中)...
2023-11-11 C#/.NET开发问题
6

代表如何工作(在后台)?
How delegates work (in the background)?(代表如何工作(在后台)?)...
2023-11-11 C#/.NET开发问题
5

没有 EndInvoke 的 C# 异步调用?
C# Asynchronous call without EndInvoke?(没有 EndInvoke 的 C# 异步调用?)...
2023-11-11 C#/.NET开发问题
2

Delegate.CreateDelegate() 和泛型:错误绑定到目标方法
Delegate.CreateDelegate() and generics: Error binding to target method(Delegate.CreateDelegate() 和泛型:错误绑定到目标方法)...
2023-11-11 C#/.NET开发问题
14