This attribute must only be applied to properties of DateTime, DateTimeOffset, Timestamp,
or the nullable equivalents, or a protobuf Timestamp.
This attribute is ignored when serializing a document to Firestore.
This attribute must not be applied on a property which also has FirestorePropertyAttribute.
When deserializing a snapshot representing a missing document, nullable properties will be set to a null value; non-nullable
properties will be set to the default value of the type (0001-01-01 for DateTime and DateTimeOffset, 1970-01-01 for Timestamp).
Constructors
FirestoreDocumentCreateTimestampAttribute()
public FirestoreDocumentCreateTimestampAttribute()
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-17 UTC."],[[["This page details the `FirestoreDocumentCreateTimestampAttribute`, which is used to populate a property with the creation timestamp from a Firestore document snapshot."],["The attribute can only be applied to properties of `DateTime`, `DateTimeOffset`, `Timestamp`, or their nullable equivalents, including a protobuf `Timestamp`."],["The `FirestoreDocumentCreateTimestampAttribute` is ignored during document serialization to Firestore."],["It's important to note that this attribute should not be applied to a property that already has the `FirestorePropertyAttribute`."],["The latest version of `Google.Cloud.Firestore` is 3.10.0, with multiple previous versions listed, including 3.9.0, 3.8.0 and going as far back as 2.3.1."]]],[]]