An SQLiteRaw WebAssembly provider for SQLitePCLRaw.core
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitattributes
.gitignore
.vsts-ci.yml
GitVersion.yml
LICENSE.md
README.md

README.md

Uno Platform based SQLitePCLRaw provider for WebAssembly

This repository is the home for the SQLitePCLRaw provider for WebAssembly, providing SQLite support for EntityFramework Core, SQLite-net, or any SQLitePCLRaw-based application.

The package is using Uno.sqlite-wasm, a WebAssembly built binary for the SQLite database engine.

You can see it in action here: http://sqliteefcore-wasm.platform.uno/

The Nuget package is available here: Uno.SQLitePCLRaw.provider.wasm

Architecture

This package is providing an implementation for the SQLitePCL.ISQLite3Provider interface used by many database abstractions, such as SQLite-net or EntityFramework Core.

It can be used as follows, early in the startup of an application:

SQLitePCL.raw.SetProvider(new SQLitePCL.SQLite3Provider_WebAssembly());

For the time being, this package requires the use of the Uno.Wasm.Boostrap nuget package to function properly, until this Nuget issue is resolved.

EFCoreSample

This sample demonstates the use of the SQLitePCLRaw provider for WebAssembly, along with EntityFramework Core and Roslyn.

The application is built with all the EntityFramework Core binaries, allowing for custom code to be run in the browser, to test EF Core database scenarios dynamically.