Method AddClassMapConvention
- Namespace
- MongoDB.Bson.Serialization.Conventions
- Assembly
- MongoDB.Bson.dll
AddClassMapConvention(string, Action<BsonClassMap>)
Adds a class map convention created using the specified action upon a class map.
Parameters
name
stringThe name of the convention.
action
Action<BsonClass >Map The action the convention should take upon the class map.