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.
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" />
<PackageReference Include="EntityFrameworkCore.DynamoDb" />
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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#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
#tool nuget:?package=EntityFrameworkCore.DynamoDb&version=1.0.0-alpha.53&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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.
SaveChangesAsyncis implemented for Added/Modified/Deleted root entities.- Synchronous
SaveChangesis not supported (DynamoDB API is async-only). - LINQ support is partial; use
docs/operators.mdas 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 | 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- AWSSDK.DynamoDBv2 (>= 4.0.18.4)
- Humanizer.Core (>= 3.0.10)
- Microsoft.EntityFrameworkCore (>= 10.0.8)
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