Table of Contents

Class NamedIdMemberConvention

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

A convention that finds the id member by name.

public class NamedIdMemberConvention : ConventionBase, IClassMapConvention, IConvention
Inheritance
NamedIdMemberConvention
Implements
Inherited Members
Extension Methods

Constructors

NamedIdMemberConvention(IEnumerable<string>)

Initializes a new instance of the NamedIdMemberConvention class.

NamedIdMemberConvention(IEnumerable<string>, BindingFlags)

Initializes a new instance of the NamedIdMemberConvention class.

NamedIdMemberConvention(IEnumerable<string>, MemberTypes)

Initializes a new instance of the NamedIdMemberConvention class.

NamedIdMemberConvention(IEnumerable<string>, MemberTypes, BindingFlags)

Initializes a new instance of the NamedIdMemberConvention class.

NamedIdMemberConvention(params string[])

Initializes a new instance of the NamedIdMemberConvention class.

Methods

Apply(BsonClassMap)

Applies a modification to the class map.