SharpCoreDB.EntityFrameworkCore 2.1.0-RC.3

This is a prerelease version of SharpCoreDB.EntityFrameworkCore.
dotnet add package SharpCoreDB.EntityFrameworkCore --version 2.1.0-RC.3
                    
NuGet\Install-Package SharpCoreDB.EntityFrameworkCore -Version 2.1.0-RC.3
                    
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="SharpCoreDB.EntityFrameworkCore" Version="2.1.0-RC.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SharpCoreDB.EntityFrameworkCore" Version="2.1.0-RC.3" />
                    
Directory.Packages.props
<PackageReference Include="SharpCoreDB.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 SharpCoreDB.EntityFrameworkCore --version 2.1.0-RC.3
                    
#r "nuget: SharpCoreDB.EntityFrameworkCore, 2.1.0-RC.3"
                    
#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 SharpCoreDB.EntityFrameworkCore@2.1.0-RC.3
                    
#: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=SharpCoreDB.EntityFrameworkCore&version=2.1.0-RC.3&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=SharpCoreDB.EntityFrameworkCore&version=2.1.0-RC.3&prerelease
                    
Install as a Cake Tool

SharpCoreDB.EntityFrameworkCore v2.1.0-RC.3

Entity Framework Core Provider for SharpCoreDB

Full EF Core integration with SharpCoreDB's encryption and performance for modern .NET applications.

Patch updates in v1.9.1

  • ✅ Fixed critical Guid foreign key persistence bug when using Include + navigation filters (e.g. Where(x => x.Children.Any(...))).
  • Root cause was missing Guid normalization during INSERT parameter binding (now aligned with DateTime handling).
  • The recommended pattern now works reliably with Guid primary keys and foreign keys.

Patch updates in v1.9.5 (archived; current release v2.1.0-RC.3)

  • ✅ Fixed EF Core materialization for aliased and quoted SELECT columns by normalizing DataReader column names and fallback value resolution.
  • ✅ Added targeted regression tests for aliased and qualified column lookup behavior.
  • Parameterized query binding fixed (Issue #336): named-parameter binding is token-aware, so parameter names that are prefixes of others (e.g. @t vs @tid) no longer corrupt the SQL.
  • Server parameter pass-through fixed (Issue #337): request.Parameters are forwarded on gRPC, the binary (PostgreSQL) protocol and WebSocket.
  • ULID encoding is now standards-compliant: ULIDs follow the official Crockford Base32 spec and are interchangeable with Python/Java/Go implementations.
  • NuGet dependencies updated to their latest stable versions.
  • ✅ Aligned package metadata and version references to the synchronized 1.9.5 release line.
  • ✅ Release automation now publishes all packable SharpCoreDB packages in CI/CD.

Features

  • ✅ Inherits metadata improvements from SharpCoreDB v1.9.5
  • ✅ Entity Framework Core integration
  • ✅ Enterprise distributed features support
  • ✅ Zero breaking changes
  • ✅ Production ready

🚀 Key Features

  • Full EF Core Support: LINQ queries, migrations, relationships
  • Encryption: Transparent AES-256-GCM encryption
  • Performance: High-speed data access with built-in caching
  • MVCC: Multi-version concurrency control
  • Transactions: ACID guarantees across operations

💻 Quick Example

using Microsoft.EntityFrameworkCore;
using SharpCoreDB.EntityFrameworkCore;

public class AppDbContext : DbContext
{
    public DbSet<User> Users { get; set; }
    public DbSet<Order> Orders { get; set; }

    protected override void OnConfiguring(DbContextOptionsBuilder options)
    {
        options.UseSharpCoreDB("mydb.scdb", "password");
    }
}

using var context = new AppDbContext();
var users = await context.Users.Where(u => u.IsActive).ToListAsync();

📚 Documentation

📦 Installation

dotnet add package SharpCoreDB.EntityFrameworkCore --version 2.1.0-RC.3

Requires: SharpCoreDB v1.9.5+, EntityFrameworkCore v8.0+


Version: 1.9.1 | Status: ✅ Production Ready (Guid FK fix included)

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
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 SharpCoreDB.EntityFrameworkCore:

Package Downloads
SharpCoreDB.Functional.EntityFrameworkCore

Entity Framework Core adapter for SharpCoreDB.Functional with zero-dependency Option/Fin APIs and fluent functional composition for .NET 10 and C# 14.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.1.0-RC.3 39 9/17/2026
2.0.0.3 125 9/12/2026
2.0.0.2 199 9/4/2026
2.0.0.1 298 9/1/2026
2.0.0 107 9/1/2026
2.0.0-preview.3 72 8/30/2026
2.0.0-preview.2 69 8/30/2026
2.0.0-preview.1 59 8/29/2026
1.9.9 118 8/30/2026
1.9.8 139 8/29/2026
1.9.7 128 8/29/2026
1.9.6 130 8/28/2026
1.9.5 134 8/27/2026
1.9.4 121 8/22/2026
1.9.3 149 7/28/2026
1.9.2 192 6/7/2026
1.9.1 139 5/21/2026
1.9.0 137 5/20/2026
1.8.0 159 4/29/2026
1.7.2 159 4/28/2026
Loading failed

v2.1.0-RC.3 (2026-09-17): net11.0-only (C# 15 preview) release line - 2,897 tests green across 16 suites; the fixed-width inline capacity ships at 16 by default on both storage paths (batched multi-row INSERT measured +12 to +19 percent); the overflow arena writes a row's payloads in one append instead of one file open per value; and in-place UPDATE/DELETE with deferred index maintenance put the fixed-width fair-PK layout ahead of SQLite on UPDATE (0.8x) and DELETE (0.5x). Full details: https://github.com/MPCoreDeveloper/SharpCoreDB/blob/release/v2.1.0.0-RC.3/docs/CHANGELOG.md