BsonClassMap.RegisterClassMap<MyClass>(); // or: [BsonDiscriminator("MyClass")] public class MyClass { ... }