{"repo":"IvanMurzak/Unity-EFCore-SQLite","free":true,"listed":false,"github":"https://github.com/IvanMurzak/Unity-EFCore-SQLite","clone":"git clone https://github.com/IvanMurzak/Unity-EFCore-SQLite.git","description":"Bundle project that includes references on EntityFrameworkCore and SQLite set of packages to provide ready to go solution for Windows, MacOS, Android, iOS platforms.","language":"C#","stars":25,"topics":["efcore","sqlite","unity","unity-engine","unity-package","unity-plugin"],"license":"MIT","category":"game-templates","readme_excerpt":"Unity + EFCore + SQLite = ❤️ Ready to go bundle package that includes references on EntityFrameworkCore and SQLitePCLRaw packages that just works in this combination for the next platforms: Supports AOT an JIT compilation. For AOT it uses nested link.xml file to exclude required classes from stripping. Supported project settings Platform - ✔️ Windows - ✔️ Android - ✔️ iOS - ✔️ MacOS - Others not yet tested Scripting backend - ❌ Mono - ✔️ IL2CPP API Compatibility - ❌ .NET Framework - ✔️ .NET Standard 2.0 - ✔️ .NET Standard 2.1 Then use EFCore as usual. Installation Option 1 - Installer - ⬇️ Download Installer - 📂 Import installer into Unity project - You may use double click on the file - Unity will open it - OR: You may open Unity Editor first, then click on Assets/Import Package/Custom Package , then choose the file Option 2 - OpenUPM-CLI - ⬇️ Install OpenUPM-CLI - 📟 Open command line in Unity project folder Option 3 - Manual (manifest.json) - Add this code to /Packages/manifest.json Usage Option 1: Explicit (Recommended) Use this approach to setup your database and establish connection. 1. Create data model LevelData.cs 2. Create SQLiteContext.cs 3. Create SQLiteContextFactory.cs The EFCoreSQLiteBundle.SQLiteContextFactory class under the hood executes SQLitePCLRaw.Startup.Setup(); for proper SQLite setup depends on the current platform. 4. Create database context There is full usage sample in this source code: --- Option 2: Minimalistic Use this option if you well unders","default_branch":null,"files":null,"tree":[],"storefront":"/r/IvanMurzak","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/IvanMurzak/Unity-EFCore-SQLite/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}