EntityFrameworkCore.DynamoDb 1.0.0-alpha.53

This is a prerelease version of EntityFrameworkCore.DynamoDb.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package EntityFrameworkCore.DynamoDb --version 1.0.0-alpha.53
                    
NuGet\Install-Package EntityFrameworkCore.DynamoDb -Version 1.0.0-alpha.53
                    
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="EntityFrameworkCore.DynamoDb" Version="1.0.0-alpha.53" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="EntityFrameworkCore.DynamoDb" Version="1.0.0-alpha.53" />
                    
Directory.Packages.props
<PackageReference Include="EntityFrameworkCore.DynamoDb" />
                    
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 EntityFrameworkCore.DynamoDb --version 1.0.0-alpha.53
                    
#r "nuget: EntityFrameworkCore.DynamoDb, 1.0.0-alpha.53"
                    
#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 EntityFrameworkCore.DynamoDb@1.0.0-alpha.53
                    
#: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=EntityFrameworkCore.DynamoDb&version=1.0.0-alpha.53&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=EntityFrameworkCore.DynamoDb&version=1.0.0-alpha.53&prerelease
                    
Install as a Cake Tool

EntityFrameworkCore.DynamoDb

EF Core Provider for AWS DynamoDB

Documentation: https://layeredcraft.github.io/dynamodb-efcore-provider/

This provider is not production ready yet. Validate behavior carefully before using it in important workloads, and review the current limitations before adopting it.

Write EF Core models against DynamoDB tables, compose queries with LINQ, and let the provider translate supported query shapes into PartiQL executed through the AWS SDK.

Why It Exists

  • Brings an EF Core-style modeling and querying experience to DynamoDB.
  • Translates supported LINQ queries into DynamoDB PartiQL.
  • Supports DynamoDB-focused mapping concepts such as partition keys, sort keys, and secondary indexes.

Quick Look

using Microsoft.EntityFrameworkCore;

public sealed class AppContext : DbContext
{
    public DbSet<User> Users => Set<User>();
    public DbSet<Order> Orders => Set<Order>();

    protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
        => optionsBuilder.UseDynamo(options =>
        {
            options.ConfigureDynamoDbClientConfig(config =>
            {
                config.ServiceURL = "http://localhost:8000";
                config.AuthenticationRegion = "us-east-1";
                config.UseHttp = true;
            });
        });

    protected override void OnModelCreating(ModelBuilder modelBuilder)
    {
        modelBuilder.Entity<User>(b =>
        {
            b.ToTable("App");
            b.HasPartitionKey(x => x.PK);
            b.HasSortKey(x => x.SK);
        });

        modelBuilder.Entity<Order>(b =>
        {
            b.ToTable("App");
            b.HasPartitionKey(x => x.PK);
            b.HasSortKey(x => x.SK);
        });
    }
}

public sealed class User
{
    public required string PK { get; set; }
    public required string SK { get; set; }
    public required string Email { get; set; }
    public required string DisplayName { get; set; }
}

public sealed class Order
{
    public required string PK { get; set; }
    public required string SK { get; set; }
    public required string Status { get; set; }
    public decimal Total { get; set; }
}

var user = await context.Users
    .Where(x => x.PK == "USER#42" && x.SK == "PROFILE")
    .SingleAsync();

var openOrders = await context.Orders
    .Where(x => x.PK == "USER#42" && x.SK.StartsWith("ORDER#") && x.Status == "Pending")
    .OrderBy(x => x.SK)
    .ToListAsync();

Current Scope

  • Async query execution is supported.
  • SaveChangesAsync is implemented for Added/Modified/Deleted root entities.
  • Synchronous SaveChanges is not supported (DynamoDB API is async-only).
  • LINQ support is partial; use docs/operators.md as the source of truth for supported query shapes.
  • Table mapping, key mapping, owned types, and secondary-index metadata are supported.
  • Optimistic concurrency is opt-in via .IsConcurrencyToken() / [ConcurrencyCheck]; token values are application-managed.
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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
10.0.0-preview.63 0 5/26/2026
10.0.0-preview.62 0 5/26/2026
10.0.0-preview.61 22 5/26/2026
10.0.0-preview.60 56 5/24/2026
10.0.0-preview.59 44 5/23/2026
10.0.0-preview.58 53 5/22/2026
10.0.0-preview.57 63 5/22/2026
10.0.0-preview.56 41 5/22/2026
10.0.0-preview 51 5/21/2026
1.0.0-preview.55 40 5/21/2026
1.0.0-preview.54 41 5/21/2026
1.0.0-alpha.53 44 5/20/2026
1.0.0-alpha.52 43 5/20/2026
1.0.0-alpha.51 39 5/20/2026
1.0.0-alpha.50 45 5/20/2026
1.0.0-alpha.49 37 5/20/2026
1.0.0-alpha.48 51 5/20/2026
1.0.0-alpha.47 45 5/19/2026
1.0.0-alpha.46 46 5/19/2026
1.0.0-alpha.45 48 5/18/2026
Loading failed