Table of Contents

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
BsonNoIdAttribute
Implements
Inherited Members
Extension Methods

Methods

PostProcess(BsonClassMap)

Applies the post processing attribute to the class map.