Class StringObjectIdIdGeneratorConvention

| MongoDB CSharp Driver API Reference (original) (raw)

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

public class StringObjectIdIdGeneratorConvention : ConventionBase, IPostProcessingConvention, IConvention