MongoDB.Bson.Serialization.Attributes Namespace |
| Class | Description | |
|---|---|---|
| BsonConstructorAttribute |
Specifies that this constructor should be used for creator-based deserialization.
| |
| BsonDateTimeOptionsAttribute |
Specifies serialization options for a DateTime field or property.
| |
| BsonDefaultValueAttribute |
Specifies the default value for a field or property.
| |
| BsonDictionaryOptionsAttribute |
Specifies serialization options for a Dictionary field or property.
| |
| BsonDiscriminatorAttribute |
Specifies the discriminator and related options for a class.
| |
| BsonElementAttribute |
Specifies the element name and related options for a field or property.
| |
| BsonExtraElementsAttribute |
Indicates that this property or field will be used to hold any extra elements found during deserialization.
| |
| BsonFactoryMethodAttribute |
Specifies that this factory method should be used for creator-based deserialization.
| |
| BsonGuidRepresentationAttribute |
Specifies the Guid representation to use with the GuidSerializer for this member.
| |
| BsonIdAttribute |
Specifies that this is the Id field or property.
| |
| BsonIgnoreAttribute |
Indicates that this field or property should be ignored when this class is serialized.
| |
| BsonIgnoreExtraElementsAttribute |
Specifies whether extra elements should be ignored when this class is deserialized.
| |
| BsonIgnoreIfDefaultAttribute |
Indicates whether a field or property equal to the default value should be ignored when serializing this class.
| |
| BsonIgnoreIfNullAttribute |
Indicates whether a field or property equal to null should be ignored when serializing this class.
| |
| BsonKnownTypesAttribute |
Specifies the known types for this class (the derived classes).
| |
| BsonNoIdAttribute |
Specifies that the class's IdMember should be null.
| |
| BsonRepresentationAttribute |
Specifies the external representation and related options for this field or property.
| |
| BsonRequiredAttribute |
Indicates that a field or property is required.
| |
| BsonSerializationOptionsAttribute |
Abstract base class for serialization options attributes.
| |
| BsonSerializerAttribute |
Specifies the type of the serializer to use for a class.
| |
| BsonTimeSpanOptionsAttribute |
Specifies the external representation and related options for this field or property.
|