Details
-
Improvement
-
Resolution: Done
-
Minor - P4
-
1.4.2
-
None
-
None
Description
BsonClassMap.RegisterClassMap<IInterface> will not work correctly, even though there might be some validity to the need. Let's investigate this as well as other aspects of using interfaces as domain entities.
[Edit 2015-04-08]
Instead of calling BsonClassMap.RegisterClassMap<IInterface>, what is actually needed is to call BsonSerializer.RegisterSerializer<IInterface>(...). See comment below created on 2015-04-08.