This attribute must only be applied to properties of DateTime, DateTimeOffset, Timestamp,
or the nullable equivalents, or a 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-03-21 UTC."],[[["This webpage provides documentation for the `FirestoreDocumentCreateTimestampAttribute` in the Google.Cloud.Firestore library, specifically for version 2.5.0."],["The `FirestoreDocumentCreateTimestampAttribute` is used to mark a property that should be automatically populated with the creation timestamp of a Firestore document."],["The attribute is applicable only to properties of type `DateTime`, `DateTimeOffset`, `Timestamp`, or their nullable counterparts, and can be found within the Google.Cloud.Firestore namespace."],["When deserializing a snapshot of a missing document, nullable properties marked with this attribute will be null, while non-nullable ones will receive the default value of the type."],["The `FirestoreDocumentCreateTimestampAttribute` must not be applied on a property which also has a `FirestorePropertyAttribute`."]]],[]]