Class TypeMapping
Single DynamoDB type mapping config
public class TypeMapping
- Inheritance
-
TypeMapping
- Inherited Members
Constructors
TypeMapping(Type, string)
Initializes a TypeMapping object for a specific type and target table.
public TypeMapping(Type type, string targetTable)
Parameters
Properties
PropertyConfigs
A string-to-PropertyConfig dictionary (property name to PropertyConfig) describing how each property on the type should be treated.
public Dictionary<string, PropertyConfig> PropertyConfigs { get; }
Property Value
TargetTable
Target table for the type
public string TargetTable { get; set; }
Property Value
Type
Type to which the mapping applies
public Type Type { get; set; }
Property Value
Methods
AddProperty(PropertyConfig)
Adds a PropertyConfig to the PropertyConfigs property. An exception is thrown if there is already a PropertyConfig with the same Name configured.
public void AddProperty(PropertyConfig propertyConfig)
Parameters
propertyConfig
PropertyConfig