Table of Contents

Class StringObjectIdIdGeneratorConvention

Namespace
MongoDB.Bson.Serialization.Conventions
Assembly
MongoDB.Bson.dll

A convention that sets the id generator for a string member with a BSON representation of ObjectId.

public class StringObjectIdIdGeneratorConvention : ConventionBase, IPostProcessingConvention, IConvention
Inheritance
StringObjectIdIdGeneratorConvention
Implements
Inherited Members
Extension Methods

Methods

PostProcess(BsonClassMap)

Applies a post processing modification to the class map.