Class BsonRequiredAttribute
- Namespace
- MongoDB.Bson.Serialization.Attributes
- Assembly
- MongoDB.Bson.dll
Indicates that a field or property is required.
[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field)]
public class BsonRequiredAttribute : Attribute, IBsonMemberMapAttribute
- Inheritance
-
BsonRequiredAttribute
- Implements
- Inherited Members
- Extension Methods
Methods
- Apply(BsonMemberMap)
Applies a modification to the member map.