基于服务的数据库文件丢失 [英] Service-Based Database File Missing

查看:23
本文介绍了基于服务的数据库文件丢失的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我在 MDSN 网站上的 SQL 教程中遇到了问题.第一张图片说明了向项目添加新文件应该是什么样的,但是当我尝试在 VS 上重复说明时,基于服务的数据库文件丢失了.有人知道我该怎么做吗?

So I've been having problems with this tutorial for SQL on the MDSN website. The first picture says what it should like to add a new file to the project but when I try to repeat the instruction on VS the service based database file is missing. Does anybody know what I should do?

推荐答案

我发现你不能.基于服务的数据库仅适用于 WinForms 项目,不适用于 Windows 通用项目.

I found out that you can't. Service Based Databases are for WinForms projects only and aren't available for Windows Universal Projects.

但是您可以将 SQLite 用于 UWP 项目.下载地址是这里

But you can use SQLite for UWP projects. The download is here

这篇关于基于服务的数据库文件丢失的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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