…added basic $or support.
…lizer bails out early, leaving bytes on the binary reader.
The static CollectionHiLoIdGenerator was caching HiLoGenerator objects for collections which in turn cached DB connections that could have been closed. Closing and reopening a connection and inserting in the same collection sometimes crashed because of that. I've kept the static, but it no longer keeps a connection around.I changed the GenerateId method to accept a connection as a parameter.
…he LINQ provider.
1) Properties already saved via the Object Properties, are not saved when the the object is also Iexpando.. This is based on the PropertyName vs. the IExpando key. 2) Arrays that come out of deserialization as "Object" of BSON type Array, are sent to ReadList instead of ReadObject. And if they Type is "Object" when it goes into ReadList, it gets changed to List<Expando>. Signed-off-by: Josh Handel
…re flexible moving forward. Thanks Adam!