Permalink
Browse files

fixed broken test related to populating a non-abstract base class

  • Loading branch information...
1 parent 9b0e02b commit 1ff7ff639034aaf33246b916259364739bee988b @craiggwilson craiggwilson committed Aug 9, 2010
Showing with 2 additions and 0 deletions.
  1. +2 −0 source/MongoDB/Serialization/Builders/PolymorphicClassMapBuilder.cs
@@ -41,6 +41,8 @@ public object BuildObject()
{
//we'll assume that this is the root class in the hierarchy.
_concreteEntityBuilder = new ConcreteClassMapBuilder(_classMap);
+ foreach (var pair in _properties)
+ _concreteEntityBuilder.AddProperty(pair.Key, pair.Value);
}
return _concreteEntityBuilder.BuildObject();

0 comments on commit 1ff7ff6

Please sign in to comment.