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
<PackageReference Include="Palm.SurrealDB.EntityFrameworkCore" Version="0.2.1" />
<PackageVersion Include="Palm.SurrealDB.EntityFrameworkCore" Version="0.2.1" />
<PackageReference Include="Palm.SurrealDB.EntityFrameworkCore" />
paket add Palm.SurrealDB.EntityFrameworkCore --version 0.2.1
#r "nuget: Palm.SurrealDB.EntityFrameworkCore, 0.2.1"
#:package Palm.SurrealDB.EntityFrameworkCore@0.2.1
#addin nuget:?package=Palm.SurrealDB.EntityFrameworkCore&version=0.2.1
#tool nuget:?package=Palm.SurrealDB.EntityFrameworkCore&version=0.2.1
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 pointservices.AddEntityFrameworkSurrealDb()context.Database.GetSurrealClient()— the underlyingISurrealClientGetSurrealTableName()/GetSurrealFieldName()model metadata accessors
Depends on
Palm.SurrealDB.NetPalm.SurrealDB.Net.LinqPalm.SurrealDB.Net.SurrealQLPalm.SurrealDB.Net.SerializationPalm.SurrealDB.Net.AbstractionsPalm.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
README— the ecosystem overview and package map- getting-started.md — the relevant article
LESSONS-LEARNED.md— every known limitation, with a reproduction
| Product | Versions 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. |
-
net10.0
- Microsoft.EntityFrameworkCore (>= 10.0.10)
- Palm.SurrealDB.EntityFrameworkCore.Diagnostics (>= 0.2.1)
- Palm.SurrealDB.Net (>= 0.2.1)
- Palm.SurrealDB.Net.Abstractions (>= 0.2.1)
- Palm.SurrealDB.Net.Linq (>= 0.2.1)
- Palm.SurrealDB.Net.Serialization (>= 0.2.1)
- Palm.SurrealDB.Net.SurrealQL (>= 0.2.1)
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.