DynamoDbMapper.Sdk
1.0.5
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package DynamoDbMapper.Sdk --version 1.0.5
NuGet\Install-Package DynamoDbMapper.Sdk -Version 1.0.5
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="DynamoDbMapper.Sdk" Version="1.0.5" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="DynamoDbMapper.Sdk" Version="1.0.5" />
<PackageReference Include="DynamoDbMapper.Sdk" />
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 DynamoDbMapper.Sdk --version 1.0.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: DynamoDbMapper.Sdk, 1.0.5"
#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 DynamoDbMapper.Sdk@1.0.5
#: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=DynamoDbMapper.Sdk&version=1.0.5
#tool nuget:?package=DynamoDbMapper.Sdk&version=1.0.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
How to Use
Create Entity
[DynamoDBTable("YourTable")]
public class User : Entity
{
[DynamoDBProperty("Name")]
public string Name { get; set; }
}
Configure
services
.AddDynamodbMapper(configuration, environment)
.AddRepositories(typeof(User))
Repository
GetAll
Return all Users and yours SubEntities.
var users = await _repository.GetAll();
ou
var users = await _repository
.CreateQuery()
.ByGsi("GSI-InheritedType", "InheritedType", "User")
.QueryAsync();
FindById
Return User and yours SubEntities.
var users = await _repository.FindById("123456");
ou
var users = await _repository
.CreateQuery()
.ById("123456")
.ByEntityType(DynamoDbOperator.BeginsWith)
.QueryAsync();
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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.
-
net7.0
- AWSSDK.DynamoDBv2 (>= 3.7.5.12)
- AWSSDK.Extensions.NETCore.Setup (>= 3.7.2)
- Microsoft.AspNetCore.Http (>= 2.2.2)
- Microsoft.Extensions.Hosting (>= 7.0.0-rc.2.22472.3)
- Newtonsoft.Json (>= 13.0.1)
- System.Net.Http (>= 4.3.4)
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 |
|---|---|---|
| 1.0.7 | 329 | 11/23/2023 |
| 1.0.6 | 160 | 11/17/2023 |
| 1.0.5 | 304 | 10/20/2022 |
| 1.0.4 | 269 | 10/19/2022 |
| 1.0.3 | 275 | 10/19/2022 |
| 1.0.2 | 263 | 10/19/2022 |
| 1.0.1 | 278 | 10/19/2022 |
| 0.0.3-alpha-0.0.2 | 277 | 10/19/2022 |
| 0.0.3-alpha-0.0.1 | 258 | 10/19/2022 |
| 0.0.2-alpha-0.0.4 | 252 | 10/19/2022 |