Permalink
Commits on Oct 15, 2010
  1. BUMP 0.5.0.3940

    rstam committed Oct 15, 2010
  2. Minor changes.

    rstam committed Oct 15, 2010
  3. Moved condition parameter of Add to end so that name and value will c…

    …onsistently be the first two arguments.
    rstam committed Oct 15, 2010
  4. Changed BsonClassMapSerializer to honor IgnoreExtraElements, IgnoreIf…

    …Null and SerializeDefaultValue.
    rstam committed Oct 15, 2010
  5. Implemented BsonDefaultValue, BsonDiscriminator, BsonElement, BsonId,…

    … BsonIgnore, BsonIgnoreIfNull, BsonRequired and BsonUseCompactRepresentation attributes and modified AutoMap to handle them (still need to modify BsonClassMapSerializer).
    rstam committed Oct 15, 2010
  6. Rename a few more fluent interface methods that I missed. Put MongoCu…

    …rsor methods in order.
    rstam committed Oct 15, 2010
Commits on Oct 14, 2010
  1. Renamed all Xyz fluent interface methods to SetXyz to conform to .NET…

    … naming conventions and to free up the Xyz name to be used as a property.
    rstam committed Oct 14, 2010
  2. Implemented DefaultPropertySerializer. Added more unit tests for seri…

    …alizing interfaces and polymorphic classes.
    rstam committed Oct 14, 2010
  3. Renamed some overloads of Find, FindAll and FindOne to FindAs, FindAl…

    …lAs, and FindOneAs to avoid ambiguities between similar overloads.
    rstam committed Oct 14, 2010
  4. More unit tests in SerializePolymorphicTests.

    rstam committed Oct 14, 2010
  5. Fixed bug in GenericEnumerablePropertySerializer when serializing C# …

    …null. Added unit tests for comparing BsonValue to bool, int, long and double.
    rstam committed Oct 14, 2010
  6. Implemented mappings between short human readable discriminators and …

    ….NET types (to avoid using the outrageously long and platform specific AssemblyQualifiedName as discriminators). Ambigous discriminators are disambiguated by context using the target type.
    rstam committed Oct 14, 2010
  7. Added SkipElement to BsonReader. Changed BsonClassMapSerializer to sk…

    …ip unexpected elements (consequence of unexpected element will eventually be configurable).
    rstam committed Oct 14, 2010
  8. Implemented GetDiscriminatorTypeName to compute the smallest possible…

    … type name that can still be understood by Type.GetType().
    rstam committed Oct 14, 2010
Commits on Oct 13, 2010
  1. Initial work on serializing all classes that implement IEnumerable<T>…

    … using a single property serializer.
    rstam committed Oct 13, 2010
  2. Renamed GenericCollectionPropertySerializers to GenericEnumerableProp…

    …ertySerializer in preparation for the change that will allow one property serializer to handle all classes that implement IEnumerable<T>.
    rstam committed Oct 13, 2010
  3. Removed PropertyType from IBsonPropertySerializer and replaced it wit…

    …h a static RegisterPropertySerializer method in classes that implement IBsonPropertySerializer. This allows one property serializer to register itself as the serializer for multiple types.
    rstam committed Oct 13, 2010
  4. Implemented GenericIListProperySerializer.

    rstam committed Oct 13, 2010
Commits on Oct 12, 2010
  1. Add registry entries so that MongoDB libraries show up in the .NET ta…

    …b of the Add Reference dialog.
    zippy1981 committed with rstam Oct 12, 2010
  2. Allow mixed case database names. Use more detailed error messages des…

    …cribing why a database name is invalid. [Patch submitted by Justin Dearing].
    zippy1981 committed with rstam Oct 12, 2010
  3. BUMP 0.5.0.3936

    rstam committed Oct 12, 2010
  4. Added unit tests for serialization of anonymous classes. Deserialize …

    …now throws InvalidOperationException for anonymous classes (anonymous classes can only be serialized).
    rstam committed Oct 12, 2010
  5. Set AssemblyVersion to 0.5.0.3936.

    rstam committed Oct 12, 2010
  6. Added BsonUseCompactRepresentation attribute. Changed NetPrimitivePro…

    …pertySerializers to honor UseCompactRepresentation. Changed unit tests to test UseCompactRepresentation. Improved detection of printable characters in BsonJsonWriter. Changed AutoMap to check for BsonUseCompactRepresentation attribute.
    rstam committed Oct 12, 2010
  7. Organized primitive property serializers into BsonPrimitiveSerializer…

    …s and NetPrimitiveSerializers. Implemented TimeSpanPropertySerializer.
    rstam committed Oct 12, 2010
Commits on Oct 11, 2010
  1. Implemented property serializer for polymorphic BsonValue properties …

    …and modified unit tests.
    rstam committed Oct 11, 2010
  2. Tried to rationalize when to use Deserialize/Serialize and when to us…

    …e ReadFrom/WriteTo (in general favor the former).
    rstam committed Oct 11, 2010
  3. Implemented property serializers for BsonJavaScript, BsonJavaScriptWi…

    …thScope, BsonRegularExpression and BsonTimestamp.
    rstam committed Oct 11, 2010
Commits on Oct 10, 2010
  1. Implemented property serializers for BsonMaxKey, BsonMinKey, BsonNull…

    … and BsonObjectId.
    rstam committed Oct 10, 2010
  2. Implemented property serializers for BsonArray, BsonDocument and Bson…

    …DocumentWrapper. Added support for null BsonValue property values.
    rstam committed Oct 10, 2010
  3. Implemented FindString in BsonReader to enable checking for the prese…

    …nce of a discriminator. Changed BsonClassMapSerialize to use the discriminator if present.
    rstam committed Oct 10, 2010
Commits on Oct 9, 2010
  1. Began work on supporting class maps for class hierarchies (including …

    …using a discriminator). Moved ToBson, ToBsonDocument and ToJson from BsonUtils to BsonExtensionMethods.
    rstam committed Oct 9, 2010