Table of Contents

Method UnmapField

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

UnmapField<TMember>(Expression<Func<TClass, TMember>>)

Removes the member map for a field from the class map.

public void UnmapField<TMember>(Expression<Func<TClass, TMember>> fieldLambda)

Parameters

fieldLambda Expression<Func<TClass, TMember>>

A lambda expression specifying the field.

Type Parameters

TMember

The member type.