Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link to Microsoft.Data.Sqlite docs from EF docs where appropriate #934

Closed
habib-developer opened this issue Aug 23, 2018 · 3 comments · Fixed by #2737
Closed

Link to Microsoft.Data.Sqlite docs from EF docs where appropriate #934

habib-developer opened this issue Aug 23, 2018 · 3 comments · Fixed by #2737

Comments

@habib-developer
Copy link

habib-developer commented Aug 23, 2018

Actually, I'm using Entity Framework core 1.0 with my WinForms application and using Sqlite3. I've to ask that is there any way to encrypt SQLite DB and use with EF Core 1.0?

@habib-developer habib-developer changed the title How to use sqlite encryption in Entity Framework core 1.0? How to use SQlite encryption in Entity Framework core 1.0? Aug 23, 2018
@ajcvickers ajcvickers changed the title How to use SQlite encryption in Entity Framework core 1.0? How to use SQlite encryption in Entity Framework Aug 29, 2019
@ajcvickers ajcvickers added this to the Backlog milestone Aug 29, 2019
@ajcvickers ajcvickers removed this from the Backlog milestone Jan 15, 2020
@ajcvickers
Copy link
Member

@bricelam to respond.

@bricelam
Copy link
Contributor

bricelam commented Jan 17, 2020

No easy way in EF Core 1.0, but these docs cover using encryption with Microsoft.Data.Sqlite 3.1. Here's the gist of it:

dotnet remove package Microsoft.EntityFrameworkCore.Sqlite
dotnet add package Microsoft.EntityFrameworkCore.Sqlite.Core
dotnet add package SQLitePCLRaw.bundle_e_sqlcipher
options.UseSqlite("Data Source=my.db;Password=myKey");

@ajcvickers ajcvickers added this to the Backlog milestone Jan 21, 2020
@ajcvickers ajcvickers changed the title How to use SQlite encryption in Entity Framework Link to Microsoft.Data.Sqlite docs from EF docs where appropriate Jan 21, 2020
@ajcvickers
Copy link
Member

See also #2056 for linking the in-memory mode.

@bricelam bricelam modified the milestones: Backlog, 5.0.0 Sep 4, 2020
bricelam added a commit to bricelam/EntityFramework.Docs that referenced this issue Oct 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants