0

My question is similar to Auto populate timestamp in DynamoDB, but I'm using C#/.NET. I could not find an equivalent DynamoDbAutoGeneratedTimestampAttribute using the object persistence model. How do I go about auto managing CreatedDate and LastUpdatedDate properties?

Ermiya Eskandary
  • 15,323
  • 3
  • 31
  • 44
user246392
  • 2,661
  • 11
  • 54
  • 96

1 Answers1

0

Unfortunately, there is currently no DynamoDbAutoGeneratedTimestampAttribute in the DynamoDB .NET object persistence model.

You will have to implement this yourself.

I could think of the easiest way being to just generate the timestamps when you create/update the object.

Ermiya Eskandary
  • 15,323
  • 3
  • 31
  • 44