Constructor BsonClassMap
- Namespace
- MongoDB.Bson.Serialization
- Assembly
- MongoDB.Bson.dll
BsonClassMap(Type)
Initializes a new instance of the BsonClassMap class.
public BsonClassMap(Type classType)
Parameters
classType
TypeThe class type.
BsonClassMap(Type, BsonClassMap)
Initializes a new instance of the BsonClassMap class.
public BsonClassMap(Type classType, BsonClassMap baseClassMap)
Parameters
classType
TypeType of the class.
baseClassMap
BsonClassMapThe base class map.