public byte[] SerializeTo(object obj) { return(MongoHelper.ToBson(obj)); }
public void SerializeTo(object obj, MemoryStream stream) { MongoHelper.ToBson(obj, stream); }