Method SetCreator
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Bson.dll
SetCreator(Func)
Sets the creator for the object.
public BsonClassMap SetCreator(Func<object> creator)
Parameters
The creator.
Returns
The class map (so method calls can be chained).