zoukankan      html  css  js  c++  java
  • vs2019 sqlite model建立详解

    System.Data.SQLite DDEX提供程序不支持Visual Studio 2017和2019,本文介绍如何使用EF6的“SQLite Toolbox” DDEX(这是VS的一个插件)提供程序在Visual Studio 2017/2019中使用SQLite和Entity Framework 6。

    首先下载SQLite Toolbox插件:

    下载地址:https://github.com/ErikEJ/SqlCeToolbox/wiki/Release-notes

    安装SQLite Toolbox插件:

    然后下载sqlite for netframework的驱动程序:

    下载地址:http://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki

    解释一下为什么要下载32位的,其实它是兼容64位的:

    需要注意的是只有32位的安装包才会能把SQLite的Data Provider加到VS Designer里。如果你已经看的眼花缭乱,一个简单的方法就是搜索右边描述里有显示如下黑体语句的This is the only setup package that is capable of installing the design-time components for Visual Studio 2013的安装包,直接下载安装就行。

    上面的vs2012实际指的是vs2019,截图时忘记修改了见谅!!

    下面添加一个数据库连接:

    第一步:

    第二步:

    OK:

    好了可以正常添加实体集了,如果你觉得nice,加关注和点赞,谢谢!!

  • 相关阅读:
    jdk8 xp
    electron react
    electron install失败
    0511 Braft Editor和嵌套路由
    组播
    0427
    duilib自定义组件
    android 读写文件、列出根目录文件及新版本权限
    android Fragment使用RecyclerView
    Duilib 带xml的1
  • 原文地址:https://www.cnblogs.com/happyShare/p/13714901.html
Copyright © 2011-2022 走看看