AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Single DynamoDB type mapping config

Inheritance Hierarchy

System.Object
  Amazon.Util.TypeMapping

Namespace: Amazon.Util
Assembly: AWSSDK.DynamoDBv2.dll
Version: 3.x.y.z

Syntax

C#
public class TypeMapping

The TypeMapping type exposes the following members

Constructors

NameDescription
Public Method TypeMapping(Type, string)

Initializes a TypeMapping object for a specific type and target table.

Properties

NameTypeDescription
Public Property PropertyConfigs System.Collections.Generic.Dictionary<System.String, Amazon.Util.PropertyConfig>

A string-to-PropertyConfig dictionary (property name to PropertyConfig) describing how each property on the type should be treated.

Public Property TargetTable System.String

Target table for the type

Public Property Type System.Type

Type to which the mapping applies

Methods

Note:

Asynchronous operations (methods ending with Async) in the table below are for .NET 4.5 or higher. For .NET 3.5 the SDK follows the standard naming convention of BeginMethodName and EndMethodName to indicate asynchronous operations - these method pairs are not shown in the table below.

NameDescription
Public Method AddProperty(PropertyConfig)

Adds a PropertyConfig to the PropertyConfigs property. An exception is thrown if there is already a PropertyConfig with the same Name configured.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5