Class DynamoDBTableAttribute
- Namespace
- Amazon.DynamoDBv2.DataModel
- Assembly
- AWSSDK.DynamoDBv2.dll
DynamoDB attribute that marks a class. Specifies that this object can be stored in DynamoDB, the name of the target table, and if attribute names must be automatically converted to lowerCamelCase.
Need not be declared on subclasses if present on base class. Can be defined on subclasses to specify different target table or specify different attribute casing.
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Struct, Inherited = true, AllowMultiple = false)]
public sealed class DynamoDBTableAttribute : DynamoDBAttribute
- Inheritance
-
DynamoDBTableAttribute
- Inherited Members
Constructors
DynamoDBTableAttribute(string)
Construct an instance of DynamoDBTableAttribute
public DynamoDBTableAttribute(string tableName)
Parameters
tableName
string
DynamoDBTableAttribute(string, bool)
Construct an instance of DynamoDBTableAttribute
public DynamoDBTableAttribute(string tableName, bool lowerCamelCaseProperties)
Parameters
Properties
LowerCamelCaseProperties
Gets and sets the LowerCamelCaseProperties property.
public bool LowerCamelCaseProperties { get; set; }
Property Value
TableName
Gets and sets the TableName property.
public string TableName { get; set; }