Method AddPostProcessingConvention
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
MongoDB.Bson.Serialization.Conventions
Assembly
MongoDB.Bson.dll
AddPostProcessingConvention(string, Action)
Adds a post processing convention created using the specified action upon a class map.
public void AddPostProcessingConvention(string name, Action<BsonClassMap> action)
Parameters
name
string
The name of the convention.
action
Action<BsonClassMap>
The action the convention should take upon the class map.