Method MapCreator
- Namespace
- MongoDB.Bson.Serialization
- Assembly
- MongoDB.Bson.dll
MapCreator(Expression<Func<TClass, TClass>>)
Creates a creator map and adds it to the class map.
public BsonCreatorMap MapCreator(Expression<Func<TClass, TClass>> creatorLambda)
Parameters
creatorLambda
Expression<Func<TClass, TClass>>Lambda expression specifying the creator code and parameters to use.
Returns
- BsonCreatorMap
The member map.