Microsoft.EntityFrameworkCore.Sqlite.Core 和 Microsoft.EntityFrameworkCore.Sqlite 程序集有什么区别? [英] What is the difference between Microsoft.EntityFrameworkCore.Sqlite.Core and Microsoft.EntityFrameworkCore.Sqlite assemblies?

查看:34
本文介绍了Microsoft.EntityFrameworkCore.Sqlite.Core 和 Microsoft.EntityFrameworkCore.Sqlite 程序集有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在使用 EFCore 加密 SQLite 数据库时,我遇到了这个 GitHub 问题

While encrypting SQLite database using EFCore I came across this GitHub issue

参考 bricelam 8 月 1 日发表的评论.这个问题是解释如何使用 efcore 加密 SQLite 数据库.它指的是 Microsoft.EntityFrameworkCore.Sqlite.Core.然而,还有另一个包Microsoft.EntityFrameworkCore.Sqlite",它被广泛使用并在许多微软文档中被引用.我想知道这两个程序集之间的区别,我应该使用哪一个?

Refer to comment by bricelam on 1st August. This issue is explaining about how to encrypt the SQLite database using efcore. It is referring to Microsoft.EntityFrameworkCore.Sqlite.Core. However there is another package "Microsoft.EntityFrameworkCore.Sqlite" which is widely used and referred in many microsoft docs. I would like to know difference between these two assemblies and which one should I use?

如果我使用 Microsoft.EntityFrameworkCore.Sqlite.Core,我会错过任何功能吗?

Am I going to miss any functionality if I use Microsoft.EntityFrameworkCore.Sqlite.Core?

推荐答案

如评论中所述,EFCore.Sqlite.csproj 包含引用 EFCore.Sqlite.Core 和 SQLitePCLRaw.bundle_green.整个代码库位于 EFCore.Sqlite.Core 中.EFCore.Sqlite.csproj 只是复制 SQLitePCLRaw.bundle_green 和其他几个文件.

As mentioned in the comment, EFCore.Sqlite.csproj contains the reference of EFCore.Sqlite.Core and SQLitePCLRaw.bundle_green. Entire code base is in EFCore.Sqlite.Core. EFCore.Sqlite.csproj is just copying SQLitePCLRaw.bundle_green and other few files.

这篇关于Microsoft.EntityFrameworkCore.Sqlite.Core 和 Microsoft.EntityFrameworkCore.Sqlite 程序集有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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