Palm.SurrealDB.EntityFrameworkCore 0.2.1

dotnet add package Palm.SurrealDB.EntityFrameworkCore --version 0.2.1
                    
NuGet\Install-Package Palm.SurrealDB.EntityFrameworkCore -Version 0.2.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Palm.SurrealDB.EntityFrameworkCore" Version="0.2.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Palm.SurrealDB.EntityFrameworkCore" Version="0.2.1" />
                    
Directory.Packages.props
<PackageReference Include="Palm.SurrealDB.EntityFrameworkCore" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Palm.SurrealDB.EntityFrameworkCore --version 0.2.1
                    
#r "nuget: Palm.SurrealDB.EntityFrameworkCore, 0.2.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Palm.SurrealDB.EntityFrameworkCore@0.2.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Palm.SurrealDB.EntityFrameworkCore&version=0.2.1
                    
Install as a Cake Addin
#tool nuget:?package=Palm.SurrealDB.EntityFrameworkCore&version=0.2.1
                    
Install as a Cake Tool

Palm.SurrealDB.EntityFrameworkCore

Entity Framework Core provider for SurrealDB, built on the Palm.SurrealDB.Net client and the Palm.SurrealDB.Net.SurrealQL AST. Queries translate to a single parameterized SurrealQL statement; SaveChanges becomes one atomic transaction block of CREATE/UPDATE/DELETE.

Part of the Palm.SurrealDB ecosystem for SurrealDB 3.x.

Installation

dotnet add package Palm.SurrealDB.EntityFrameworkCore

Targets net10.0. The package is proprietary and sets PackageRequireLicenseAcceptance, so NuGet prompts before installing — see LICENSE. Nothing is on NuGet.org until the first release runs; see docs/RELEASING.md.

Provides

  • optionsBuilder.UseSurrealDb(...) — the provider entry point
  • services.AddEntityFrameworkSurrealDb()
  • context.Database.GetSurrealClient() — the underlying ISurrealClient
  • GetSurrealTableName() / GetSurrealFieldName() model metadata accessors

Depends on

  • Palm.SurrealDB.Net
  • Palm.SurrealDB.Net.Linq
  • Palm.SurrealDB.Net.SurrealQL
  • Palm.SurrealDB.Net.Serialization
  • Palm.SurrealDB.Net.Abstractions
  • Palm.SurrealDB.EntityFrameworkCore.Diagnostics

Notes

Known limitations, each filed with a reproduction rather than left to discovery: change tracking is not implemented (so Find/FindAsync are unavailable), Include/ThenInclude cannot reach a record-link or graph-edge navigation, GroupBy(...).Select(g => g.Count()) is rewritten by EF into a correlated subquery the translator does not recognise, and a version-guard miss does not roll back the rest of its SaveChanges batch. See the roadmap and LESSONS-LEARNED.md.

Documentation

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Palm.SurrealDB.EntityFrameworkCore:

Package Downloads
Palm.SurrealDB.EntityFrameworkCore.Migrations

Convergent schema management (EnsureSurrealSchema / GetSurrealSchemaDiff / GenerateSurrealSchemaScript) for the SurrealDB EF Core provider. Not EF migrations — SurrealDB has no relational migration model (D1).

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.2.1 123 9/5/2026
0.2.0 130 9/3/2026