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.
Controls how .NET property names are cased when mapped to DynamoDB attribute names by the object persistence model. Set via Amazon.DynamoDBv2.DataModel.DynamoDBTableAttribute.AttributeCasing.
Namespace: Amazon.DynamoDBv2.DataModel
Assembly: AWSSDK.DynamoDBv2.dll
Version: 3.x.y.z
public enum CaseMode
The CaseMode type exposes the following members
| Name | Description | |
|---|---|---|
|
CamelCase |
Attribute names are converted to camelCase at every level of the object graph, including nested objects stored as DynamoDB Maps. This is the recommended value for consistent camelCase output. |
|
LegacyCamelCase |
Reproduces the exact (asymmetric) behavior of the obsolete
Amazon.DynamoDBv2.DataModel.DynamoDBTableAttribute.LowerCamelCaseProperties flag set to |
|
PascalCase |
Attribute names match the .NET property names unchanged (PascalCase). Setting this explicitly on a nested type blocks it from inheriting an enclosing type's casing. |
|
Unset |
No casing was specified for this type (the default). Behaves as Amazon.DynamoDBv2.DataModel.CaseMode.PascalCase at the root, but - unlike an explicit Amazon.DynamoDBv2.DataModel.CaseMode.PascalCase - a nested type left Amazon.DynamoDBv2.DataModel.CaseMode.Unset inherits an enclosing type's casing (for example Amazon.DynamoDBv2.DataModel.CaseMode.CamelCase). |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.7.2 and newer