
NET Standard class library project to contain your data access code, but we won't use one in our example. Let's start by adding a class to your UWP project named DataAccess. ✔️ App load time has the potential to be faster because most likely, the SDK version of SQLite will already be loaded into memory. The Windows version of SQLite is maintained by Microsoft in coordination with. ✔️ Prevents you from having to push a new version of your app to users in the event that SQLite publishes critical fixes to bugs and security vulnerabilities in SQLite. ✔️ Reduces the size of your application because you don't have to download the SQLite binary, and then package it as part of your application. Instead, your app can use the version of SQLite that comes installed with Windows.
#Open sqlite file in access install#
We'll start with a basic UWP project, and then install the appropriate Nuget packages.Īll supported versions of Windows support SQLite, so your app does not have to package SQLite libraries. The rest of this guide helps you to use this library. Microsoft actively maintains these implementations, and they provide an intuitive wrapper around the low-level native SQLite API. The library implements the interfaces in the namespace. To try it out, see Getting Started with EF Core.
#Open sqlite file in access code#
NET apps, you can migrate that code to a UWP app and it will work with appropriate changes to the connection string. If you've already used this framework to work with data in other. Entity Framework CoreĮntity Framework (EF) is an object-relational mapper that you can use to work with relational data by using domain-specific objects. We recommend that you use either the Entity Framework Core or the open-source SQLite library built by Microsoft.


✔️ SQLite works across platforms and architectures. ✔️ SQLite is in the public domain so you can freely use and distribute it with your app. The client and the server run in the same process.

It's a code library without any other dependencies. ✔️ SQLite is light-weight and self-contained. Some benefits of using SQLite for local storage You can use SQLite to store and retrieve data in a light-weight database on the user's device.
