Class BsonNoIdAttribute
- Namespace
- MongoDB.Bson.Serialization.Attributes
- Assembly
- MongoDB.Bson.dll
Specifies that the class's IdMember should be null.
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Struct)]
public class BsonNoIdAttribute : Attribute, IBsonPostProcessingAttribute
- Inheritance
-
Bson
NoId Attribute
- Implements
- Inherited Members
- Extension Methods
Methods
PostProcess(BsonClassMap)
Applies the post processing attribute to the class map.
Parameters
classMap
BsonClass Map The class map.