Table of Contents

Method UnmapProperty

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

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

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

public void UnmapProperty<TMember>(Expression<Func<TClass, TMember>> propertyLambda)

Parameters

propertyLambda Expression<Func<TClass, TMember>>

A lambda expression specifying the property.

Type Parameters

TMember

The member type.