Class DynamoDBContextConfig
- Namespace
- Amazon.DynamoDBv2.DataModel
- Assembly
- AWSSDK.DynamoDBv2.dll
Configuration object for setting options on the DynamoDBContext. and individual operations.
public class DynamoDBContextConfig
- Inheritance
-
DynamoDBContextConfig
- Derived
- Inherited Members
Constructors
DynamoDBContextConfig()
Default constructor
public DynamoDBContextConfig()
Properties
ConsistentRead
Property that directs DynamoDBContext to use consistent reads. If property is not set, behavior defaults to non-consistent reads.
public bool? ConsistentRead { get; set; }
Property Value
- bool?
Conversion
Conversion specification which controls how conversion between .NET and DynamoDB types happens.
public DynamoDBEntryConversion Conversion { get; set; }
Property Value
IgnoreNullValues
Property that directs DynamoDBContext to ignore null values on attributes during a Save operation. If the property is false (or not set), null values will be interpreted as directives to delete the specific attribute.
public bool? IgnoreNullValues { get; set; }
Property Value
- bool?
IsEmptyStringValueEnabled
Property that directs DynamoDBContext to enable empty string values on attributes during a Save operation. If the property is false (or not set), empty string values will be interpreted as null values.
public bool? IsEmptyStringValueEnabled { get; set; }
Property Value
- bool?
SkipVersionCheck
Property that directs DynamoDBContext to skip version checks when saving or deleting an object with a version attribute. If property is not set, version checks are performed.
public bool? SkipVersionCheck { get; set; }
Property Value
- bool?
TableNamePrefix
Property that directs DynamoDBContext to prefix all table names with a specific string. If property is null or empty, no prefix is used and default table names are used.
public string TableNamePrefix { get; set; }